MCPcopy Create free account
hub / github.com/codemix/graph / clear

Method clear

packages/graph/src/indexes/FullTextIndex.ts:319–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

317 }
318
319 public clear(): void {
320 this.#invertedIndex.clear();
321 this.#documents.clear();
322 }
323
324 public statistics(): IndexStatistics {
325 return {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected