tools/godoc/vfs
Agniva De Sarker ae8529dc16 godoc/vfs/zipfs: join paths to get correct RootType
The logic was incorrectly written from vfs/os.go. zipfs filesystem
passes actual paths during dirTree building. So we need to join the paths
to determine whether they are under GOROOT or GOPATH.

Updates golang/go#27205

Change-Id: Ic4330fce02c6ebfc44ae21122e2412c33f0cd45a
Reviewed-on: https://go-review.googlesource.com/138435
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-09-28 16:24:37 +00:00
..
gatefs godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
httpfs
mapfs godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
zipfs godoc/vfs/zipfs: join paths to get correct RootType 2018-09-28 16:24:37 +00:00
emptyvfs.go godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
emptyvfs_test.go x/tools/godoc: gofmt -s -w 2017-02-15 21:42:32 +00:00
namespace.go godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
os.go godoc/vfs: improve comment on GOROOT 2018-08-26 00:05:47 +00:00
os_test.go godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
vfs.go godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00