c.l.storage : module documentation

Part of canonical.librarian

No module docstring
Class DigestMismatchError The given digest doesn't match the SHA-1 digest of the file.
Class DuplicateFileIDError Given File ID already exists.
Class WrongDatabaseError The client's database name doesn't match our database.
Class LibrarianStorage Blob storage.
Class LibraryFileUpload A file upload from a client.
Function _sameFile Undocumented
Function _relFileLocation Return the relative location for the given file_id.
def _sameFile(path1, path2):
Undocumented
def _relFileLocation(file_id):
Return the relative location for the given file_id.

The relative location is obtained by converting file_id into a 8-digit hex and then splitting it across four path segments.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.