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

Method getFilePathFromNodeId

src/resolution/index.ts:2086–2089  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

2084 * Get file path from node ID
2085 */
2086 private getFilePathFromNodeId(nodeId: string): string {
2087 const node = this.queries.getNodeById(nodeId);
2088 return node?.filePath || '';
2089 }
2090
2091 /**
2092 * Get language from node ID

Callers 3

resolveAllMethod · 0.95
resolveBatchYieldingMethod · 0.95

Calls 1

getNodeByIdMethod · 0.65

Tested by

no test coverage detected