package
1.14.1
Repository: https://github.com/rogpeppe/go-internal.git
Documentation: pkg.go.dev

# Functions

Default returns the default cache to use.
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.