MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / normalizePath

Function normalizePath

src/eval/harness.ts:12–14  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

10} from './types.js';
11
12function normalizePath(filePath: string): string {
13 return filePath.toLowerCase().replace(/\\/g, '/');
14}
15
16function isTestFile(filePath: string): boolean {
17 const normalized = normalizePath(filePath);

Callers 4

isTestFileFunction · 0.70
matchesPatternFunction · 0.70
dedupeByFileFunction · 0.70
hashPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected