class documentation
class BaseArchive: (source)
Known subclasses: django.utils.archive.TarArchive
, django.utils.archive.ZipArchive
Base Archive class. Implementations should inherit this class.
Method | extract |
Undocumented |
Method | has |
Return True if all the paths have the same leading path name (i.e., everything is in one subdirectory in an archive). |
Method | list |
Undocumented |
Method | split |
Undocumented |
Method | target |
Undocumented |
Static Method | _copy |
If the file in the archive has some permissions (this assumes a file won't be writable/executable without being readable), apply those permissions to the unarchived file. |
Return True if all the paths have the same leading path name (i.e., everything is in one subdirectory in an archive).