docker-offlineimap/offlineimap/repository
Sebastian Spaeth d5e7620ce9 Create an abstract Repository class
A Repository() returns the correctly instanciated dervivate of a
BaseRepository, depending on the parameters passed to it. The returned
instance is eg an ImapRepository(). This makes the code look nicer,
and we have less functions lying around outside of classes (no more
global LoadRepository() function).

This will also enable us to conveniently hand back a
LocalStatusRepository based on SQLITE rather than plain text, if the
user configures this to be the experimental and optional backend
(once it exists).

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-03-03 18:19:42 +01:00
..
__init__.py Create an abstract Repository class 2011-03-03 18:19:42 +01:00
Base.py Create an abstract Repository class 2011-03-03 18:19:42 +01:00
Gmail.py Create an abstract Repository class 2011-03-03 18:19:42 +01:00
IMAP.py Create an abstract Repository class 2011-03-03 18:19:42 +01:00
LocalStatus.py Added ability to disable fsync() 2008-08-02 14:55:08 -05:00
Maildir.py repository/*: replace UIBase.getglobalui() with getglobalui() 2011-01-05 19:24:00 +01:00