MCPcopy Index your code
hub / github.com/codeaashu/claude-code / countUniqueFiles

Function countUniqueFiles

src/tools/LSPTool/LSPTool.ts:531–533  ·  view source on GitHub ↗

* Counts unique files from an array of locations

(locations: Location[])

Source from the content-addressed store, hash-verified

529 * Counts unique files from an array of locations
530 */
531function countUniqueFiles(locations: Location[]): number {
532 return new Set(locations.map(loc => loc.uri)).size
533}
534
535/**
536 * Extracts a file path from a file:// URI, decoding percent-encoded characters.

Callers 1

formatResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected