Go: cmd/go/internal/dirhash Index | Files

package dirhash

import "cmd/go/internal/dirhash"

Package dirhash defines hashes over directory trees.

Index

Package Files

hash.go

Variables

var DefaultHash = Hash1

func DirFiles Uses

func DirFiles(dir, prefix string) ([]string, error)

func Hash1 Uses

func Hash1(files []string, open func(string) (io.ReadCloser, error)) (string, error)

func HashDir Uses

func HashDir(dir, prefix string, hash Hash) (string, error)

func HashZip Uses

func HashZip(zipfile string, hash Hash) (string, error)

type Hash Uses

type Hash func(files []string, open func(string) (io.ReadCloser, error)) (string, error)

Package dirhash imports 10 packages (graph) and is imported by 7 packages. Updated 2018-12-27. Refresh now. Tools for package owners.