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

Method getContext

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

3049 * @returns Context object with all related information
3050 */
3051 getContext(nodeId: string): Context {
3052 return this.graphManager.getContext(nodeId);
3053 }
3054
3055 /**
3056 * 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