]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/cache: add support definitions
authorRuss Cox <rsc@golang.org>
Sat, 19 Aug 2017 04:13:25 +0000 (00:13 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 5 Oct 2017 08:28:41 +0000 (08:28 +0000)
commitbe272ec0712734fd7d03fcad8a9b8a546b08d6fc
tree062970d619ab72b4a0649889c10da344d52aa9ab
parent66c03d39f3aa65ec522c41e56c569391786539a7
cmd/go/internal/cache: add support definitions

There is no cache here yet. This CL defines ActionID, Hash, and HashFile,
which the new content-based staleness code can use. Eventually we'll
put a real cache implementation here, but it's not necessary yet.

Change-Id: Ide433cb449f4dbe658694453f348c947642df79b
Reviewed-on: https://go-review.googlesource.com/67311
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/internal/cache/cache.go [new file with mode: 0644]
src/cmd/go/internal/cache/hash.go [new file with mode: 0644]
src/cmd/go/internal/cache/hash_test.go [new file with mode: 0644]