MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / joinPathSegments

Function joinPathSegments

cli/src/cli/paths.ts:437–439  ·  view source on GitHub ↗
(segments: string[])

Source from the content-addressed store, hash-verified

435
436 for (let i = 0; i < path.length; i++) {
437 const char = path[i];
438 if (char === '\\' && i + 1 < path.length) {
439 const next = path[i + 1];
440 if (next === '/') {
441 current += next;
442 i++;

Callers 3

sectionPathMethod · 0.85
pathDirnameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected