MCPcopy
hub / github.com/colbymchenry/codegraph / getFilePathFromNodeId

Method getFilePathFromNodeId

src/resolution/index.ts:1193–1196  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

1191 * Get file path from node ID
1192 */
1193 private getFilePathFromNodeId(nodeId: string): string {
1194 const node = this.queries.getNodeById(nodeId);
1195 return node?.filePath || '';
1196 }
1197
1198 /**
1199 * Get language from node ID

Callers 1

resolveAllMethod · 0.95

Calls 1

getNodeByIdMethod · 0.65

Tested by

no test coverage detected