MCPcopy Index your code
hub / github.com/google/codesearch / buildIndex

Function buildIndex

index/write_test.go:135–137  ·  view source on GitHub ↗
(name string, paths []string, fileData map[string]string)

Source from the content-addressed store, hash-verified

133}
134
135func buildIndex(name string, paths []string, fileData map[string]string) {
136 buildFlushIndex(name, paths, false, fileData)
137}
138
139func testTrivialWrite(t *testing.T, doFlush bool) {
140 f, _ := ioutil.TempFile("", "index-test")

Callers 2

TestTrivialPostingFunction · 0.85
TestMergeFunction · 0.85

Calls 1

buildFlushIndexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…