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

Method getFilePathFromNodeId

src/resolution/index.ts:4160–4163  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

4158 * Get file path from node ID
4159 */
4160 private getFilePathFromNodeId(nodeId: string): string {
4161 const node = this.nodeById(nodeId);
4162 return node?.filePath || '';
4163 }
4164
4165 /**
4166 * Get language from node ID

Callers 4

resolveAllMethod · 0.95
resolveBatchYieldingMethod · 0.95
couldNameAnyOfMethod · 0.95

Calls 1

nodeByIdMethod · 0.95

Tested by

no test coverage detected