Check for the go-build subdirectory to identify a filepath in the go build cache. The go command uses a subdirectory of the default os cache called "go-build" for the build cache. Additionally, this responds to the comments about function names and tests in the following CLs: https://golang.org/cl/125536 https://golang.org/cl/125302 Fixes https://github.com/golang/go/issues/26387 Change-Id: I4ec65822e1e178d3de215a773e42f09fcc5bdb0d Reviewed-on: https://go-review.googlesource.com/128360 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Michael Matloob <matloob@golang.org> |
||
|---|---|---|
| .. | ||
| ast/astutil | ||
| buildutil | ||
| callgraph | ||
| gccgoexportdata | ||
| gcexportdata | ||
| internal | ||
| loader | ||
| packages | ||
| pointer | ||
| ssa | ||
| types/typeutil | ||
| vcs | ||