Panda3D
|
Public Member Functions | |
__init__ (self, packageDesc, patchMaker, xpackage=None) | |
getBaseKey (self) | |
getCurrentKey (self) | |
getGenericKey (self, fileSpec) | |
getTopKey (self) | |
readDescFile (self, doProcessing=False) | |
writeDescFile (self) | |
This is a particular package. This contains all of the information needed to reconstruct the package's desc file.
__init__ | ( | self, | |
packageDesc, | |||
patchMaker, | |||
xpackage = None ) |
getBaseKey | ( | self | ) |
Returns the key to locate the "base" or oldest version of this package.
getCurrentKey | ( | self | ) |
Returns the key to locate the current version of this package.
getGenericKey | ( | self, | |
fileSpec ) |
Returns the key that has the indicated hash.
getTopKey | ( | self | ) |
Returns the key to locate the "top" or newest version of this package.
readDescFile | ( | self, | |
doProcessing = False ) |
Reads the existing package.xml file and stores it in this class for later rewriting. if doProcessing is true, it may massage the file and the directory contents in preparation for building patches. Returns true on success, false on failure.
writeDescFile | ( | self | ) |
Rewrites the desc file with the new patch information.
anyChanges |
baseFile |
basePv |
compressedFilename |
contentsDocPackage |
currentFile |
currentPv |
doc |
hostUrl |
packageDesc |
packageDir |
packageName |
patches |
patchMaker |
patchVersion |
platform |
topFile |
topPv |
version |