MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / trackExports

Method trackExports

src/utils/usage-tracker.ts:733–736  ·  view source on GitHub ↗

* Track exports from a file

(filePath: string, fileExports: FileExport[])

Source from the content-addressed store, hash-verified

731 * Track exports from a file
732 */
733 trackExports(filePath: string, fileExports: FileExport[]): void {
734 const normalized = this.normalizePath(filePath);
735 this.exports.set(normalized, fileExports);
736 }
737
738 /**
739 * Find all circular dependencies in the graph using DFS with recursion stack.

Callers 2

indexMethod · 0.95

Calls 2

normalizePathMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected