summaryrefslogtreecommitdiff
path: root/std/io
diff options
context:
space:
mode:
Diffstat (limited to 'std/io')
-rw-r--r--std/io/util.ts3
-rw-r--r--std/io/util_test.ts2
2 files changed, 3 insertions, 2 deletions
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);