MCPcopy
hub / github.com/colbymchenry/codegraph / normalizePath

Function normalizePath

src/utils.ts:213–215  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

211 * Fixes Windows backslash paths so glob matching works consistently.
212 */
213export function normalizePath(filePath: string): string {
214 return filePath.replace(/\\/g, '/');
215}
216
217/**
218 * Cross-process file lock using a lock file with PID tracking.

Callers 14

visitFunction · 0.90
findIgnoredEmbeddedReposFunction · 0.90
collectGitFilesFunction · 0.90
collectGitStatusFunction · 0.90
isIgnoredFunction · 0.90
walkFunction · 0.90
startRecursiveMethod · 0.90
watchTreeMethod · 0.90
handleDirEventMethod · 0.90
shouldIgnoreDirMethod · 0.90
ingestEventForTestsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected