MCPcopy Create free account
hub / github.com/CodecrumbsIO/codecrumbs / alignPlatformPath

Function alignPlatformPath

src/server/index.js:92–96  ·  view source on GitHub ↗
(p = '')

Source from the content-addressed store, hash-verified

90};
91
92const alignPlatformPath = (p = '') =>
93 p
94 .replace(/^(\.?\/)/, '')
95 .replace(/\/$/, '')
96 .replace(/\//g, path.sep);
97
98const validateProjectPath = (pDir, ePoint) => {
99 const paths = [];

Callers 2

setupFunction · 0.85
checkIfPathExistsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected