MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getFileIndex

Function getFileIndex

src/hooks/fileSuggestions.ts:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34let fileIndex: FileIndex | null = null
35
36function getFileIndex(): FileIndex {
37 if (!fileIndex) {
38 fileIndex = new FileIndex()
39 }
40 return fileIndex
41}
42
43let fileListRefreshPromise: Promise<FileIndex> | null = null
44// Signal fired when an in-progress index build completes. Lets the

Callers 2

getPathsForSuggestionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected