class documentation

Base Archive class. Implementations should inherit this class.

Method extract Undocumented
Method has_leading_dir 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_leading_dir Undocumented
Method target_filename Undocumented
Static Method _copy_permissions 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.
def has_leading_dir(self, paths): (source)

Return True if all the paths have the same leading path name (i.e., everything is in one subdirectory in an archive).

def split_leading_dir(self, path): (source)

Undocumented

def target_filename(self, to_path, name): (source)

Undocumented

@staticmethod
def _copy_permissions(mode, filename): (source)

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.