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

Method getFilePathFromNodeId

src/resolution/index.ts:4150–4153  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

4148 * Get file path from node ID
4149 */
4150 private getFilePathFromNodeId(nodeId: string): string {
4151 const node = this.nodeById(nodeId);
4152 return node?.filePath || '';
4153 }
4154
4155 /**
4156 * 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