tools/godoc
Andrew Gerrand 5b307dbe98 [release-branch.go1.3] go.tools/godoc: fix index reading and writing
««« CL 103370046 / 3b66a5dfbfe1
go.tools/godoc: fix index reading and writing

In command godoc, set IndexEnabled when the -write_index flag is set.
Previously you would need to (unintuitively) set the -http flag to
achieve this.

In package godoc, set up the FS tree before loading the index, and
then return before starting the index refresh loop. Previously the
index would be loaded and then immediately refreshed, negating the
benefits of the on-disk index.

TBR=bradfitz
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/103370046
»»»

TBR=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/105190043
2014-06-13 16:54:49 +10:00
..
analysis go.tools: fix various minor issues found by go vet 2014-05-19 08:47:28 -07:00
redirect go.tools/godoc/redirect: remove race detector blog post redirect 2014-02-11 09:26:17 +11:00
static go.tools/godoc/static: fix import path doc typo 2014-05-05 17:42:00 -07:00
util all: be more idiomatic when documenting boolean return values. 2013-07-23 10:37:43 +10:00
vfs godoc: limit concurrency to local disk filesystem 2013-12-16 11:25:50 -08:00
cmdline.go godoc: Remove bogus messages referring to "/target". 2014-02-26 13:21:44 -05:00
cmdline_test.go go.tools/godoc: ignore //line comments in source code 2014-04-03 13:12:54 -07:00
corpus.go go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
dirtrees.go godoc: add a Corpus hook to summarize a package 2013-10-30 11:34:32 -07:00
format.go go.tools/godoc: Fix jump-to-line in source view. 2013-08-01 11:52:25 +10:00
godoc.go go.tools/godoc: sanitize function signatures for object index 2014-04-07 12:54:28 -07:00
godoc_test.go go.tools/godoc: sanitize function signatures for object index 2014-04-07 12:54:28 -07:00
index.go [release-branch.go1.3] go.tools/godoc: fix index reading and writing 2014-06-13 16:54:49 +10:00
index_test.go godoc: Update identifier indexing tests. 2014-01-06 14:53:03 -05:00
linkify.go godoc: remove the last of the global variables, unexport Server 2013-07-19 10:27:53 +10:00
meta.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
page.go godoc: set expvar for http.ResponseWriter errors. 2014-01-29 10:53:45 -05:00
parser.go go.tools/godoc: ignore //line comments in source code 2014-04-03 13:12:54 -07:00
pres.go go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
search.go godoc: Fix dereference of nil *SearchResult. 2014-02-20 11:26:05 -05:00
server.go godoc: documentation of -analysis features. 2014-04-16 16:35:08 -04:00
server_test.go godoc: set expvar for http.ResponseWriter errors. 2014-01-29 10:53:45 -05:00
snippet.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
spec.go godoc: move bulk of the code to the package 2013-07-17 17:09:54 +10:00
spot.go godoc: add search results that point to documentation instead of source. 2013-11-21 11:55:42 -05:00
tab.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
template.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00