parentRemotePath
function parentRemotePath(input: string): string;Defined in: src/sync/createRemoteBrowser.ts:85
Returns the parent directory of a remote path, or "/" for root inputs.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input | string | Remote path to inspect. |
Returns
Section titled “Returns”string
The parent path normalized to an absolute form.