Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHashMismatch = errors.New("two hashes don't match")
Functions ¶
func BytesToBase32Hash ¶
BytesToBase32Hash copies nix here https://nixos.org/nixos/nix-pills/nix-store-paths.html The comments tell us to compute the base32 representation of the first 160 bits (truncation) of a sha256 of the above string:
func HashString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.