MCPcopy Create free account
hub / github.com/DHTMLX/gantt / toPosix

Function toPosix

scripts/test.js:34–36  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

32options.filter = args.find((a, i) => !a.startsWith("--") && (threadsIndex === -1 || i !== threadsIndex + 1)) || "";
33
34function toPosix(p) {
35 return p.replace(/\\/g, "/");
36}
37
38function relSample(file) {
39 return toPosix(path.relative(path.join(rootDir, "samples"), file));

Callers 2

relSampleFunction · 0.85
collectFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected