|
|
__init__(self,
myfile)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
decompose(self,
datadir,
cleanup=1)
Alias for unpackinfo() --- Complement to recompose() but optionally
deletes the destination directory. |
source code
|
|
|
|
compose(self,
datadir,
cleanup=0)
Alias for recompose(). |
source code
|
|
|
|
recompose(self,
datadir,
cleanup=0,
break_hardlinks=True)
Creates an xpak segment from the datadir provided, truncates the tbz2
to the end of regular data if an xpak segment already exists, and
adds the new segment to the file with terminating info. |
source code
|
|
|
|
|
|
|
|
|
|
scan(self)
Scans the tbz2 to locate the xpak segment and setup internal values. |
source code
|
|
|
|
filelist(self)
Return an array of each file listed in the index. |
source code
|
|
|
|
getfile(self,
myfile,
mydefault=None)
Finds 'myfile' in the data segment and returns it. |
source code
|
|
|
|
getelements(self,
myfile)
A split/array representation of tbz2.getfile() |
source code
|
|
|
|
unpackinfo(self,
mydest)
Unpacks all the files from the dataSegment into 'mydest'. |
source code
|
|
|
|
get_data(self)
Returns all the files from the dataSegment as a map object. |
source code
|
|
|
|
getboth(self)
Returns an array [indexSegment, dataSegment] |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|