Class wrapper for accessing and creating external dependency archives.
An external dependency archive is basically a collection of zip files in
the same directory, each of which contains external dependency files of a
certain type.
|
__init__(self,
archiveName,
extDepDirectory,
mode='r',
compress=False)
ExternalDepArchive constructor. |
|
|
|
__del__(self)
ExternalDepArchive destructor. |
|
|
bool
|
hasExternalDep(self,
extDepTypes)
Returns:
True if there's at least one external dependency file of
one of the specified types in the archive. |
|
|
[str]
|
listExternalDeps(self,
extDepTypes)
Returns:
A list of absolute paths of all the external dependency
files matching one of the specified type present in the archive. |
|
|
[str]
|
|
bool
|
extractExternalDeps(self,
extDepTypes,
relocationCallback=None,
overwriteCallback=None)
Extracts all external dependency files of the specified types present
in the archive. |
|
|
|
addExternalDeps(self,
extDepPaths,
extDepType,
pathRenameCallback=None)
Adds external dependency files to the archive. |
|
|
|
dump(self)
Dumps external dependency archives content to standard output. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|