mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 10:07:54 -05:00
acd62786c2
Apparently `path/posix` and `path/win32` have circular exports. I do not know why. Additionally there's a deprecated function `_makeLong` which is just `toNamespacedPath`
26 lines
524 B
TypeScript
26 lines
524 B
TypeScript
// Copyright the Browserify authors. MIT License.
|
|
// Ported from https://github.com/browserify/path-browserify/
|
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
import path from "ext:deno_node/path/mod.ts";
|
|
|
|
export const {
|
|
basename,
|
|
delimiter,
|
|
dirname,
|
|
extname,
|
|
format,
|
|
isAbsolute,
|
|
join,
|
|
normalize,
|
|
parse,
|
|
relative,
|
|
resolve,
|
|
sep,
|
|
toNamespacedPath,
|
|
_makeLong,
|
|
} = path.win32;
|
|
|
|
export const posix = path.posix;
|
|
export const win32 = path.win32;
|
|
export default path.win32;
|