Documentation ¶ Overview ¶ Package dirhash defines hashes over directory trees. Index ¶ Variables func DirFiles(dir, prefix string) ([]string, error) func Hash1(files []string, open func(string) (io.ReadCloser, error)) (string, error) func HashDir(dir, prefix string, hash Hash) (string, error) func HashZip(zipfile string, hash Hash) (string, error) type Hash Constants ¶ This section is empty. Variables ¶ View Source var DefaultHash = Hash1 Functions ¶ func DirFiles ¶ func DirFiles(dir, prefix string) ([]string, error) func Hash1 ¶ func Hash1(files []string, open func(string) (io.ReadCloser, error)) (string, error) func HashDir ¶ func HashDir(dir, prefix string, hash Hash) (string, error) func HashZip ¶ func HashZip(zipfile string, hash Hash) (string, error) Types ¶ type Hash ¶ type Hash func(files []string, open func(string) (io.ReadCloser, error)) (string, error) Source Files ¶ View all Source files hash.go Click to show internal directories. Click to hide internal directories.