Lines Matching full:checksum
32 def __init__(self, repository, filename, revision, checksum): argument
36 self.checksum = checksum
39 return hash((self.repository, self.filename, self.revision, self.checksum))
42 …, self.filename, self.revision, self.checksum) == (other.repository, other.filename, other.revisio…
51 return self.checksum
67 def fetchFile (dstPath, url, checksum): argument
80 if checksum != gotChecksum:
81 raise Exception("Checksum mismatch, expected %s, got %s" % (checksum, gotChecksum))
85 def checkFile (filename, checksum): argument
93 return computeChecksum(readFile(filename)) == checksum
108 if not checkFile(cachePath, source.checksum):