@ac-essentials/misc-util
    Preparing search index...

    Function escapePosixPath

    • Escapes any characters in a path segment that are not allowed in file or directory names on POSIX-compliant systems.

      Parameters

      • str: string

        The path segment to escape

      • replacement: string = "_"

      Returns string

      The escaped path segment