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

Method isBuilt

packages/graph/src/indexes/IndexManager.ts:324–326  ·  view source on GitHub ↗

* Check if an index has been built.

(label: string, property: string)

Source from the content-addressed store, hash-verified

322 * Check if an index has been built.
323 */
324 public isBuilt(label: string, property: string): boolean {
325 return this.#built.has(this.#indexKey(label, property));
326 }
327
328 /**
329 * Build an index by scanning all elements.

Callers 2

#tryIndexLookupMethod · 0.80
indexes.test.tsFile · 0.80

Calls 2

#indexKeyMethod · 0.95
hasMethod · 0.45

Tested by

no test coverage detected