package
0.6.0
Repository: https://github.com/dominikh/go-tools.git
Documentation: pkg.go.dev

# Functions

Default returns the default cache to use.
DefaultDir returns the effective STATICCHECK_CACHE setting.
FileHash returns the hash of the named file.
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
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.