mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
6ccc7ad346
* docs(path): cleanup `@std/path/posix` and `@std/path/windows` module documentation * tweak
38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
// Copyright the Browserify authors. MIT License.
|
|
// Ported mostly from https://github.com/browserify/path-browserify/
|
|
// This module is browser compatible.
|
|
|
|
/**
|
|
* Utilities for working with Windows-specific paths.
|
|
*
|
|
* ```ts
|
|
* import { fromFileUrl } from "@std/path/windows/from-file-url";
|
|
* import { assertEquals } from "@std/assert";
|
|
*
|
|
* assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
|
|
* ```
|
|
*
|
|
* @module
|
|
*/
|
|
export * from "./basename.ts";
|
|
export * from "./constants.ts";
|
|
export * from "./dirname.ts";
|
|
export * from "./extname.ts";
|
|
export * from "./format.ts";
|
|
export * from "./from_file_url.ts";
|
|
export * from "./is_absolute.ts";
|
|
export * from "./join.ts";
|
|
export * from "./normalize.ts";
|
|
export * from "./parse.ts";
|
|
export * from "./relative.ts";
|
|
export * from "./resolve.ts";
|
|
export * from "./to_file_url.ts";
|
|
export * from "./to_namespaced_path.ts";
|
|
export * from "./common.ts";
|
|
export * from "../types.ts";
|
|
export * from "./glob_to_regexp.ts";
|
|
export * from "./is_glob.ts";
|
|
export * from "./join_globs.ts";
|
|
export * from "./normalize_glob.ts";
|