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

Method clear

packages/graph/src/indexes/BTreeIndex.ts:307–310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

305 }
306
307 public clear(): void {
308 this.#entries = [];
309 this.#elementValues.clear();
310 }
311
312 public statistics(): IndexStatistics {
313 // Count unique values

Callers

nothing calls this directly

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected