Lines Matching full:checksum
32 def __init__(self, filename, revision, checksum): argument
35 self.checksum = checksum
38 return hash((self.filename, self.revision, self.checksum))
41 …return (self.filename, self.revision, self.checksum) == (other.filename, other.revision, other.che…
50 return self.checksum
66 def fetchFile (dstPath, url, checksum): argument
79 if checksum != gotChecksum:
80 raise Exception("Checksum mismatch, exepected %s, got %s" % (checksum, gotChecksum))
84 def checkFile (filename, checksum): argument
92 return computeChecksum(readFile(filename)) == checksum
107 if not checkFile(cachePath, source.checksum):