Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HashNames []string
List of all hash functions.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash interface {
// Write implements io.Writer.
Write([]byte) (int, error)
// Digest returns the digest of the hash with filename-friendly characters,
// along with a 64-bit hash used for inode numbers.
Digest() (string, uint64)
}
Hash is a size-agnostic version of the hash.Hash interface.
Click to show internal directories.
Click to hide internal directories.