MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / node

Function node

__tests__/extraction.test.ts:458–458  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

456
457 const result = extractFromSource('default.nix', code);
458 const node = (name: string) => result.nodes.find((n) => n.name === name);
459
460 expect(node('localValue')?.isExported).toBe(false);
461 expect(node('exported')?.isExported).toBe(true);

Callers 1

extraction.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected