]> Cypherpunks repositories - gostls13.git/commit
godoc: support for file systems stored in .zip files
authorRobert Griesemer <gri@golang.org>
Thu, 14 Jul 2011 18:34:53 +0000 (11:34 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 14 Jul 2011 18:34:53 +0000 (11:34 -0700)
commitdf68a61c9e214deeff8affd3a6120747336010ba
tree73ac496c04aad9f96747bec4f4b446a9196cc7a9
parente8ff9a624f28fcfc653f2a23aeb718afdaaaf55a
godoc: support for file systems stored in .zip files

Instead of serving files of the underlying OS file system,
a .zip file may be provided to godoc containing the files
to serve; for instance:

   godoc -http=:6060 -zip=go.zip

using a .zip file created from a clean tree as follows:

   zip -r go.zip $GOROOT

R=rsc
CC=golang-dev
https://golang.org/cl/4670053
src/cmd/godoc/doc.go
src/cmd/godoc/filesystem.go
src/cmd/godoc/main.go
src/cmd/godoc/zip.go [new file with mode: 0644]