first commit
Some checks failed
Build and Deploy / build (push) Failing after 1m34s

This commit is contained in:
2025-11-23 03:24:27 +01:00
commit cc5b8b32bb
6193 changed files with 832271 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.joinPathSegments = void 0;
function joinPathSegments(a, b, separator) {
/**
* The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
*/
if (a.endsWith(separator)) {
return a + b;
}
return a + separator + b;
}
exports.joinPathSegments = joinPathSegments;