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

Function toPosix

src/utils/memoryFileDetection.ts:25–27  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

23
24// Normalize path separators to posix (/). Does NOT translate drive encoding.
25function toPosix(p: string): string {
26 return p.split(win32.sep).join(posix.sep)
27}
28
29// Convert a path to a stable string-comparable form: forward-slash separated,
30// and on Windows, lowercased (Windows filesystems are case-insensitive).

Callers 1

toComparableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected