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

Method getFilePathFromNodeId

src/resolution/index.ts:3858–3861  ·  view source on GitHub ↗

* Get file path from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

3856 * Get file path from node ID
3857 */
3858 private getFilePathFromNodeId(nodeId: string): string {
3859 const node = this.nodeById(nodeId);
3860 return node?.filePath || '';
3861 }
3862
3863 /**
3864 * 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