MCPcopy Index your code
hub / github.com/google/zx / toPOSIXPath

Function toPOSIXPath

test/cli.test.js:370–370  ·  view source on GitHub ↗
(_path)

Source from the content-addressed store, hash-verified

368 const isWindows = process.platform === 'win32'
369 const oldPath = process.env.PATH
370 const toPOSIXPath = (_path) => _path.split(path.sep).join(path.posix.sep)
371
372 const zxPath = path.resolve('./build/cli.js')
373 const zxLocation = isWindows ? toPOSIXPath(zxPath) : zxPath

Callers 1

cli.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…