normalizeRemotePath
function normalizeRemotePath(input: string): string;Defined in: src/utils/path.ts:42
Normalizes a remote path using POSIX-style separators without escaping absolute roots.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input | string | Remote path that may contain duplicate separators or dot segments. |
Returns
Section titled “Returns”string
A normalized remote path, / for absolute root, or . for an empty relative path.
Throws
Section titled “Throws”ConfigurationError When the input contains unsafe CR or LF characters.