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

Method getFilePathFromNodeId

src/resolution/index.ts:2092–2095  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

2090 * Get file path from node ID
2091 */
2092 private getFilePathFromNodeId(nodeId: string): string {
2093 const node = this.queries.getNodeById(nodeId);
2094 return node?.filePath || '';
2095 }
2096
2097 /**
2098 * Get language from node ID

Callers 3

resolveAllMethod · 0.95
resolveBatchYieldingMethod · 0.95

Calls 1

getNodeByIdMethod · 0.65

Tested by

no test coverage detected