Module Larch
In: lib/larch.rb
lib/larch/logger.rb
lib/larch/imap/mailbox.rb
lib/larch/db/message.rb
lib/larch/db/account.rb
lib/larch/db/mailbox.rb
lib/larch/errors.rb
lib/larch/version.rb
lib/larch/imap.rb
lib/larch/config.rb

Methods

copy_all   copy_folder   init   open_db   summary  

Classes and Modules

Module Larch::Database
Class Larch::Config
Class Larch::Error
Class Larch::IMAP
Class Larch::Logger

Constants

EXCLUDE_COMMENT = /#.*$/
EXCLUDE_REGEX = /^\s*\/(.*)\/\s*/
GLOB_PATTERNS = {'*' => '.*', '?' => '.'}
LIB_DIR = File.join(File.dirname(File.expand_path(__FILE__)), 'larch')
APP_NAME = 'Larch'
APP_VERSION = '1.1.1'
APP_AUTHOR = 'Ryan Grove'
APP_EMAIL = 'ryan@wonko.com'
APP_URL = 'https://github.com/rgrove/larch/'
APP_COPYRIGHT = 'Copyright (c) 2011 Ryan Grove <ryan@wonko.com>. All ' << 'rights reserved.'

Attributes

config  [R] 
db  [R] 
exclude  [R] 
log  [R] 

Public Class methods

Recursively copies all messages in all folders from the source to the destination.

Copies the messages in a single IMAP folder and all its subfolders (recursively) from the source to the destination.

Opens a connection to the Larch message database, creating it if necessary.

[Validate]