github.com/mattn/go@v0.0.0-20171011075504-07f7db3ea99f/src/cmd/go/internal/cache/cache.go (about)

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Package cache implements a package cache,
     6  // or more properly a build artifact cache,
     7  // but our only cached build artifacts are packages.
     8  package cache
     9  
    10  // An ActionID is a cache action key, the hash of a complete description of a
    11  // repeatable computation (command line, environment variables,
    12  // input file contents, executable contents).
    13  type ActionID [HashSize]byte