| Home | Trees | Indices | Help |
|
|---|
|
|
Provides a common interface to all backends and certain sevices intended to be used by the backends themselves.
|
|||
|
ParsedUrl Parse the given URL as a duplicity backend URL. |
|||
|
Backend Represents a generic duplicity backend, capable of storing and retrieving files. |
|||
|
|||
| void |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
_forced_backend = Nonehash(x) |
|||
_backends = {}
|
|||
_urlparser_initialized = False
|
|||
_urlparser_initialized_lock = dup_threading.threading_module()
|
|||
|
|||
Import files in the duplicity/backends directory where the filename ends in 'backend.py' and ignore the rest.
|
Register a given backend factory responsible for URL:s with the given scheme. The backend must be a callable which, when called with a URL as the single parameter, returns an object implementing the backend protocol (i.e., a subclass of Backend). Typically the callable will be the Backend subclass itself. This function is not thread-safe and is intended to be called during module importation or start-up. |
Instantiate a backend suitable for the given URL, or return None if the given string looks like a local path rather than a URL. Raise InvalidBackendURL if the URL is not a valid URL. |
Ensure that the appropriate clobbering of variables in the urlparser module has been done. In the future, the need for this clobbering to begin with should preferably be eliminated. |
|
|||
_urlparser_initialized_lock
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 25 13:38:16 2011 | http://epydoc.sourceforge.net |