Lines Matching refs:checksum
36 def __init__(self, repository, filename, revision, checksum): argument
40 self.checksum = checksum
43 return hash((self.repository, self.filename, self.revision, self.checksum))
46 …, self.filename, self.revision, self.checksum) == (other.repository, other.filename, other.revisio…
55 return self.checksum
111 def fetchFile (dstPath, repository, revision, filename, checksum, cacheDir): argument
124 if checksum != gotChecksum:
125 raise Exception("Checksum mismatch, expected %s, got %s" % (checksum, gotChecksum))
129 def checkFile (filename, checksum): argument
137 return computeChecksum(readFile(filename)) == checksum
152 if not checkFile(cachePath, source.checksum):