package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev

# Functions

Default returns the default cache to use, or nil if no cache should be used.
DefaultDir returns the effective GOCACHE setting.
FileHash returns the hash of the named file.
NewHash returns a new Hash.
Open opens and returns the cache in the given directory.
SetFileHash sets the hash returned by FileHash for file.
Subkey returns an action ID corresponding to mixing a parent action ID with a string description of the subkey.

# Constants

HashSize is the number of bytes in a hash.

# Variables

DebugTest is set when GODEBUG=gocachetest=1 is in the environment.

# Structs

A Cache is a package cache, backed by a file system directory tree.
Entry
No description provided by the author
A Hash provides access to the canonical hash function used to index the cache.

# Type aliases

An ActionID is a cache action key, the hash of a complete description of a repeatable computation (command line, environment variables, input file contents, executable contents).
An OutputID is a cache output key, the hash of an output of a computation.