l.t.u.t.StorageStrategy : class documentation

Part of lp.translations.utilities.translation_export View In Hierarchy

Known subclasses: lp.translations.utilities.translation_export.SingleFileStorageStrategy, lp.translations.utilities.translation_export.TarballFileStorageStrategy

Implementation strategy for ExportFileStorage.

Storage for single files is implemented by SingleFileStorageStrategy; multiple files go into a TarballFileStorageStrategy.

Method addFile Add a file to be stored.
Method isEmpty Is this storage object still devoid of files?
Method isFull Does this storage object have its fill of files?
Method export Undocumented
def addFile(self, path, extension, content, mime_type):
Add a file to be stored.
def isEmpty(self):
Is this storage object still devoid of files?
def isFull(self):
Does this storage object have its fill of files?
def export(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.