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

Method getFilePathFromNodeId

src/resolution/index.ts:4079–4082  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

4077 * Get file path from node ID
4078 */
4079 private getFilePathFromNodeId(nodeId: string): string {
4080 const node = this.nodeById(nodeId);
4081 return node?.filePath || '';
4082 }
4083
4084 /**
4085 * 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