summaryrefslogtreecommitdiff
path: root/std/io
diff options
context:
space:
mode:
authorNayeem Rahman <muhammed.9939@gmail.com>2019-10-16 19:39:33 +0100
committerRyan Dahl <ry@tinyclouds.org>2019-10-16 14:39:33 -0400
commitf51dcc12d7a75a677529d63eb53d7a577d5b9289 (patch)
tree67c5ee1026a6da84e68b249a77067bfd0b313532 /std/io
parent99d8ac70dbf412ee5de9ad2370c75dcd51cc5def (diff)
std: Move fs/path to the top-level (#3100)
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);