MCPcopy
hub / github.com/Fission-AI/OpenSpec / isWindowsBasePath

Method isWindowsBasePath

src/utils/file-system.ts:107–109  ·  view source on GitHub ↗
(basePath: string)

Source from the content-addressed store, hash-verified

105 }
106
107 private static isWindowsBasePath(basePath: string): boolean {
108 return /^[A-Za-z]:[\\/]/.test(basePath) || basePath.startsWith('\\');
109 }
110
111 private static normalizeSegments(segments: string[]): string[] {
112 return segments

Callers 1

joinPathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected