2023-02-14 11:38:45 -05:00
|
|
|
// Copyright the Browserify authors. MIT License.
|
|
|
|
// Ported from https://github.com/browserify/path-browserify/
|
2024-01-01 14:58:21 -05:00
|
|
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2023-02-14 11:38:45 -05:00
|
|
|
|
2023-04-18 04:44:25 -04:00
|
|
|
import path from "ext:deno_node/path/mod.ts";
|
2023-02-14 11:38:45 -05:00
|
|
|
|
2023-04-18 04:44:25 -04:00
|
|
|
export const {
|
2023-02-14 11:38:45 -05:00
|
|
|
basename,
|
|
|
|
delimiter,
|
|
|
|
dirname,
|
|
|
|
extname,
|
|
|
|
format,
|
|
|
|
isAbsolute,
|
|
|
|
join,
|
|
|
|
normalize,
|
|
|
|
parse,
|
|
|
|
relative,
|
|
|
|
resolve,
|
|
|
|
sep,
|
|
|
|
toNamespacedPath,
|
2024-09-10 20:00:08 -04:00
|
|
|
_makeLong,
|
2023-04-18 04:44:25 -04:00
|
|
|
} = path.posix;
|
|
|
|
|
2024-09-10 20:00:08 -04:00
|
|
|
export const posix = path.posix;
|
|
|
|
export const win32 = path.win32;
|
2023-04-18 04:44:25 -04:00
|
|
|
export default path.posix;
|