Skip to content

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.

ParameterTypeDescription
inputstringRemote path to inspect.

string

The parent path normalized to an absolute form.