• This function is used when converting a URI to a file path. Decodes all components of a URI path, with the exception of encoded slash characters, as this would lead to unexpected file locations being targeted (resulting in erroneous behaviour of the file based backend).

    Returns

    A decoded copy of the provided URI path (ignoring encoded slash characters).

    Parameters

    • path: string

      The path to decode the URI path components of.

    Returns string