mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
docs(path): add note about unstable-join
(#5967)
This commit is contained in:
parent
c5d7930d57
commit
d35803f4f8
@ -20,6 +20,9 @@ import { join as windowsJoin } from "./windows/join.ts";
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* Note: If you are working with file URLs,
|
||||
* use the new version of `join` from `@std/path/unstable-join`.
|
||||
*
|
||||
* @param paths Paths to be joined and normalized.
|
||||
* @returns The joined and normalized path.
|
||||
*/
|
||||
|
@ -16,6 +16,9 @@ import { normalize } from "./normalize.ts";
|
||||
* assertEquals(path, "/foo/bar/baz/asdf");
|
||||
* ```
|
||||
*
|
||||
* Note: If you are working with file URLs,
|
||||
* use the new version of `join` from `@std/path/posix/unstable-join`.
|
||||
*
|
||||
* @param paths The paths to join.
|
||||
* @returns The joined path.
|
||||
*/
|
||||
|
@ -17,6 +17,9 @@ import { normalize } from "./normalize.ts";
|
||||
* assertEquals(joined, "C:\\foo\\bar");
|
||||
* ```
|
||||
*
|
||||
* Note: If you are working with file URLs,
|
||||
* use the new version of `join` from `@std/path/windows/unstable-join`.
|
||||
*
|
||||
* @param paths The paths to join.
|
||||
* @returns The joined path.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user