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

Method getFilePathFromNodeId

src/resolution/index.ts:2078–2081  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

2076 * Get file path from node ID
2077 */
2078 private getFilePathFromNodeId(nodeId: string): string {
2079 const node = this.queries.getNodeById(nodeId);
2080 return node?.filePath || '';
2081 }
2082
2083 /**
2084 * Get language from node ID

Callers 3

resolveAllMethod · 0.95
resolveBatchYieldingMethod · 0.95

Calls 1

getNodeByIdMethod · 0.65

Tested by

no test coverage detected