MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / toPosix

Function toPosix

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

Source from the content-addressed store, hash-verified

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

Callers 1

toComparableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected