Lines Matching refs:sha1
29 return hashlib.sha1(fin.read()).hexdigest()
36 l.append(hashlib.sha1(apk.read(f)).hexdigest())
38 return hashlib.sha1(",".join(l).encode()).hexdigest()
108 sha1 = hashlib.sha1()
113 sha1.update(line)
114 file_digest_respect_ignore.append(sha1.hexdigest())
152 sha1 = 0
154 sha1 = run(path)
155 artifact_sha1_target_map[filename][sha1].append(target_basename)
156 def pretty_print(sha1, filename, targets, exclude_sha1): argument
159 return "{}, {}, {}\n".format(filename, sha1[:10], ";".join(targets))
170 for sha1, targets in sha1_target_map.items():
171 common.append(pretty_print(sha1, filename, targets, list_only))
174 for sha1, targets in sha1_target_map.items():
176 pretty_print(sha1, filename, targets, list_only))
178 for sha1, targets in sha1_target_map.items():
179 diff.append(pretty_print(sha1, filename, targets, list_only))