summaryrefslogtreecommitdiff
path: root/std/io/util.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-04-01 15:23:39 -0400
committerGitHub <noreply@github.com>2020-04-01 15:23:39 -0400
commit12c6b2395be2bd1371284adf03e4826ba5edc761 (patch)
treeef8bf5a2ef76a43fc044759e98d615fbd1a52e93 /std/io/util.ts
parent3a0b617503f4c81fb9773bd99c898270b98b9b5a (diff)
Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565)
also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
Diffstat (limited to 'std/io/util.ts')
-rw-r--r--std/io/util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/util.ts b/std/io/util.ts
index 4bcf7d2e9..4479e2c38 100644
--- a/std/io/util.ts
+++ b/std/io/util.ts
@@ -3,7 +3,7 @@ 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 { encode } from "../encoding/utf8.ts";
// `off` is the offset into `dst` where it will at which to begin writing values
// from `src`.