From f184332c09c851faac50f598d29ebe4426e05464 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sat, 9 May 2020 13:34:47 +0100 Subject: BREAKING(std): reorganization (#5087) * Prepend underscores to private modules * Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result. * Move std/_util/async.ts to std/async * Move std/util/sha*.ts to std/hash --- std/path/mod.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'std/path/mod.ts') diff --git a/std/path/mod.ts b/std/path/mod.ts index 104e0b616..9cb7f1edb 100644 --- a/std/path/mod.ts +++ b/std/path/mod.ts @@ -4,7 +4,7 @@ import * as _win32 from "./win32.ts"; import * as _posix from "./posix.ts"; -import { isWindows } from "./constants.ts"; +const isWindows = Deno.build.os == "windows"; const path = isWindows ? _win32 : _posix; @@ -27,8 +27,7 @@ export const { toNamespacedPath, } = path; -export { common } from "./common.ts"; -export { EOL, SEP, SEP_PATTERN, isWindows } from "./constants.ts"; +export * from "./common.ts"; +export { SEP, SEP_PATTERN } from "./separator.ts"; export * from "./interface.ts"; export * from "./glob.ts"; -export * from "./globrex.ts"; -- cgit v1.2.3