1
0
mirror of https://github.com/golang/go synced 2024-11-19 19:04:47 -07:00
go/src
Russ Cox 3392c0711d cmd/go: add README and access log to cache directory
The README is there to help people who stumble across the directory.

The access log is there to help us evaluate potential algorithms for
managing and pruning cache directories. For now the management
is manual: users have to run "go clean -cache" if they want the cache
to get smaller.

As a low-resolution version of the access log, we also update the
mtime on each cache file as they are used by the go command.
A simple refinement of go clean -cache would be to delete
(perhaps automatically) cache files that have not been used in more
than one day, or some suitable time period.

Change-Id: I1dd6309952942169d71256c4b50b723583d21fca
Reviewed-on: https://go-review.googlesource.com/75471
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2017-11-03 17:44:59 +00:00
..
archive archive/zip, crypto/tls: use rand.Read instead of casting ints to bytes 2017-11-01 05:51:30 +00:00
bufio bufio: add Reader.Size and Writer.Size accessors 2017-11-02 17:17:44 +00:00
builtin
bytes
cmd cmd/go: add README and access log to cache directory 2017-11-03 17:44:59 +00:00
compress
container container/ring: fix example_test.go 2017-10-31 03:52:55 +00:00
context
crypto crypto, hash: implement BinaryMarshaler, BinaryUnmarshaler in hash implementations 2017-11-01 21:04:12 +00:00
database/sql database/sql: scan into *time.Time without reflection 2017-10-25 19:29:16 +00:00
debug debug/dwarf: clarify StructField.ByteSize doc 2017-10-18 21:45:30 +00:00
encoding go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
errors
expvar
flag flag: add (*FlagSet).Name, (*FlagSet).ErrorHandling, export (*FlagSet).Output 2017-10-31 03:54:16 +00:00
fmt fmt: hide bad format in test from vet 2017-10-31 13:49:53 +00:00
go go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
hash go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
html
image go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
index/suffixarray
internal cmd/link: restore windows stack commit size back to 4KB 2017-11-03 00:09:40 +00:00
io io: fix Pipe regression with differing error types 2017-11-02 23:05:53 +00:00
log log: Remove unnecessary else 2017-10-25 05:02:37 +00:00
math math: implement asm modf for ppc64x 2017-11-02 13:24:32 +00:00
mime all: unindent some if bodies by exiting early 2017-10-31 20:07:46 +00:00
net net/http: clarify when it is safe to reuse a request 2017-11-02 23:51:25 +00:00
os os: rearrange OpenFile Flags doc 2017-11-01 21:28:43 +00:00
path
plugin cmd/link, plugin: always encode path 2017-10-26 15:08:37 +00:00
reflect all: unindent some if bodies by exiting early 2017-10-31 20:07:46 +00:00
regexp go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
runtime runtime: clarify GOROOT return value in documentation 2017-11-03 15:52:40 +00:00
sort sort: split post-Go1.4 code into its own file 2017-10-27 16:01:43 +00:00
strconv unicode: update to Unicode 10.0.0 2017-10-24 12:42:35 +00:00
strings strings: add examples for specialCase 2017-10-31 14:09:07 +00:00
sync
syscall go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
testing testing/iotest: fix NewReadLogger documentation typo 2017-10-19 15:59:21 +00:00
text all: unindent some if bodies by exiting early 2017-10-31 20:07:46 +00:00
time go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
unicode go/printer: forbid empty line before first comment in block 2017-11-02 18:17:22 +00:00
unsafe
vendor/golang_org/x vendor/golang_org/x/net/idna: update from upstream 2017-11-02 17:08:27 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/dist: fix bad LC_TIME assumption in 'date' invocation 2017-11-03 13:42:33 +00:00
make.bat build: quiet make.bash, make.bat, make.rc 2017-10-31 13:48:53 +00:00
Make.dist
make.rc build: quiet make.bash, make.bat, make.rc 2017-10-31 13:48:53 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc