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

Method getContext

src/index.ts:1553–1555  ·  view source on GitHub ↗

* Get the context for a node (ancestors, children, references) * * Returns comprehensive context about a node including its containment * hierarchy, children, incoming/outgoing references, type information, * and relevant imports. * * @param nodeId - ID of the focal node * @retu

(nodeId: string)

Source from the content-addressed store, hash-verified

1551 * @returns Context object with all related information
1552 */
1553 getContext(nodeId: string): Context {
1554 return this.graphManager.getContext(nodeId);
1555 }
1556
1557 /**
1558 * Traverse the graph from a starting node

Callers 2

graph.test.tsFile · 0.45
foundation.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected