On this page

    M

    path.toNamespacedPath

    History
    path.toNamespacedPath(path): string
    Attributes
    path:string
    Returns:string

    On Windows systems only, returns an equivalent namespace-prefixed path for the given path. If path is not a string, path will be returned without modifications.

    This method is meaningful only on Windows systems. On POSIX systems, the method is non-operational and always returns path without modifications.