Lines Matching full:checksum
37 def __init__(self, repository, filename, revision, checksum): argument
41 self.checksum = checksum
44 return hash((self.repository, self.filename, self.revision, self.checksum))
47 …, self.filename, self.revision, self.checksum) == (other.repository, other.filename, other.revisio…
56 return self.checksum
103 def fetchFile (dstPath, repository, revision, filename, checksum, cacheDir): argument
116 if checksum != gotChecksum:
117 raise Exception("Checksum mismatch, expected %s, got %s" % (checksum, gotChecksum))
121 def checkFile (filename, checksum): argument
129 return computeChecksum(readFile(filename)) == checksum
144 if not checkFile(cachePath, source.checksum):