Skip to main content

Function: normalizePathSeparatorsToWindows()

function normalizePathSeparatorsToWindows(value: string): string;

Defined in: shared/utils/pathSeparators.ts:35

Converts POSIX path separators (/) to Windows separators (\\).

Parametersโ€‹

valueโ€‹

string

Any string that may contain POSIX path separators.

Returnsโ€‹

string

The input string with all / replaced by \\.