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

Method constructor

packages/graph/src/indexes/HashIndex.ts:27–30  ·  view source on GitHub ↗
(label: string, property: string)

Source from the content-addressed store, hash-verified

25 #reverse: Map<ElementId, unknown> = new Map();
26
27 public constructor(label: string, property: string) {
28 this.label = label;
29 this.property = property;
30 }
31
32 public add(elementId: ElementId, value: unknown): void {
33 if (value === undefined || value === null) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected