escapePosixPath
escapePosixPath(
str,replacement?):string
Defined in: packages/core/src/system/fs/escape-posix-path.ts:8
Escapes any characters in a path segment that are not allowed in file or directory names on POSIX-compliant systems.
Parameters
Section titled “Parameters”string
The path segment to escape
replacement?
Section titled “replacement?”string = "_"
Returns
Section titled “Returns”string
The escaped path segment