path.toNamespacedPath(path)


返回 path带命名空间前缀的路径,仅支持 Window 系统。

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 system. On POSIX systems, the method is non-operational and always returns path without modifications.