]> Cypherpunks repositories - gostls13.git/commit
godoc: support for reading/writing (splitted) index files.
authorRobert Griesemer <gri@golang.org>
Tue, 30 Aug 2011 00:22:20 +0000 (17:22 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 30 Aug 2011 00:22:20 +0000 (17:22 -0700)
commitd01ee38fb09bfc9f03f5930fa2054cc767d611d2
treead395f910838f186d3cb8c5822e3e0448bcaabc1
parent6b902628709f694967d54045de949d2db20ddadd
godoc: support for reading/writing (splitted) index files.

This CL implements a new godoc feature to save the search
index on disk. Use -write_index to create the search
index file named with -index_files. Use -index_files to
provide a glob pattern specifying index file(s) when
starting godoc; in this case the run-time indexer is not
run.

Known issues:
- saving/restoring full text index is not yet supported
- the list of flags and overall usage logic could use a
  cleanup

R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/4974045
src/cmd/godoc/appconfig.go
src/cmd/godoc/appinit.go
src/cmd/godoc/doc.go
src/cmd/godoc/godoc.go
src/cmd/godoc/index.go
src/cmd/godoc/main.go