modulepackage
0.0.0-20200301161822-f8c4a3336c2a
Repository: https://github.com/itchio/intact.git
Documentation: pkg.go.dev
# README
intact
Decodes x-goog-hash
headers and verifies that a file on disk has the
correct size and hash.
# Packages
No description provided by the author
# Functions
No description provided by the author
IsIntegrityError returns true if the error is a size or a hash mismatch.
# Structs
BadHashErr is returned when the hash of a file on disk doesn't match what we expected it to be.
BadSizeErr is returned when the size of a file on disk doesn't match what we expected it to be.