From f51dcc12d7a75a677529d63eb53d7a577d5b9289 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Wed, 16 Oct 2019 19:39:33 +0100 Subject: std: Move fs/path to the top-level (#3100) --- std/io/util.ts | 3 ++- std/io/util_test.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'std/io') diff --git a/std/io/util.ts b/std/io/util.ts index 96ff10b0e..7ecf0e48d 100644 --- a/std/io/util.ts +++ b/std/io/util.ts @@ -2,8 +2,9 @@ const { Buffer, mkdir, open } = Deno; type File = Deno.File; type Reader = Deno.Reader; +import * as path from "../path/mod.ts"; import { encode } from "../strings/mod.ts"; -import * as path from "../fs/path.ts"; + // `off` is the offset into `dst` where it will at which to begin writing values // from `src`. // Returns the number of bytes copied. diff --git a/std/io/util_test.ts b/std/io/util_test.ts index c616a4bba..4f97bf5ef 100644 --- a/std/io/util_test.ts +++ b/std/io/util_test.ts @@ -2,8 +2,8 @@ const { remove } = Deno; import { test } from "../testing/mod.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; +import * as path from "../path/mod.ts"; import { copyBytes, tempFile } from "./util.ts"; -import * as path from "../fs/path.ts"; test(function testCopyBytes(): void { const dst = new Uint8Array(4); -- cgit v1.2.3