This is handy for identifying which file is corrupt in the nix store.
+### Changed
+- Show filename being hashed. Helps find nix store corruption.
assert empty == ''
v.check("Verifying nix-prefetch-url's digest",
to_Digest16(v, Digest32(prefetch_digest)) == digest)
assert empty == ''
v.check("Verifying nix-prefetch-url's digest",
to_Digest16(v, Digest32(prefetch_digest)) == digest)
- v.status("Verifying file digest")
+ v.status("Verifying digest of %s" % path)
file_digest = digest_file(path)
v.result(file_digest == digest)
return path # type: ignore # (for old mypy)
file_digest = digest_file(path)
v.result(file_digest == digest)
return path # type: ignore # (for old mypy)