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

Method getContext

src/index.ts:3134–3136  ·  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

3132 * @returns Context object with all related information
3133 */
3134 getContext(nodeId: string): Context {
3135 return this.graphManager.getContext(nodeId);
3136 }
3137
3138 /**
3139 * Traverse the graph from a starting node

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected