tools/go
Dominik Honnef 446a18e709 go/buildutil, cmd/guru: extract overlay context into buildutil
This extracts the overlay context and archive parsing from guru into
buildutil.

At least one tool (gogetdoc) has a vendored copy of this code already,
and more tools implementing the same functionality will follow.

The new code in buildutil is an almost identical copy of the code in
guru (names aside), except for the following changes:

- Instead of reading into a bytes.Buffer, we read directly into a []byte
  of appropriate size

- sameFile first attempts a simple comparison of path.Clean'ed paths.

Change-Id: I97cd978ccc10722e3648e5e10625fa7f1407f202
Reviewed-on: https://go-review.googlesource.com/21805
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-04-13 01:11:48 +00:00
..
ast/astutil go/ast/astutil: add merging pass to AddImport and AddNamedImport. 2016-03-27 21:31:10 +00:00
buildutil go/buildutil, cmd/guru: extract overlay context into buildutil 2016-04-13 01:11:48 +00:00
callgraph x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
gcimporter15 go/gcimporter15: match https://golang.org/cl/21896/ 2016-04-12 19:34:05 +00:00
loader x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
pointer x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
ssa x/tools: remove remaining files tagged for Go 1.4 2016-04-12 18:58:24 +00:00
types/typeutil x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
vcs go/vcs: apply test style improvements from cmd/go 2016-04-12 07:00:54 +00:00