MCPcopy Create free account
hub / github.com/Autodesk/Aurora / UpdateVersion

Function UpdateVersion

Scripts/installExternalsFunctions.py:226–233  ·  view source on GitHub ↗
(context, packageName, versionString)

Source from the content-addressed store, hash-verified

224
225# Update generated .version.txt file for a package.
226def UpdateVersion(context, packageName, versionString):
227 if(CheckVersion(context, packageName, versionString)):
228 return
229 fullVersionString = scriptVersion+":"+versionString
230 versionTextFilename = os.path.join(context.externalsInstDir, packageName+".version.txt")
231 versionFile= open(versionTextFilename, "wt")
232 versionFile.write(fullVersionString)
233 versionFile.close()
234
235def GetCPUCount():
236 try:

Callers 1

UpdateVersionMethod · 0.85

Calls 1

CheckVersionFunction · 0.85

Tested by

no test coverage detected