From 12c6b2395be2bd1371284adf03e4826ba5edc761 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 1 Apr 2020 15:23:39 -0400 Subject: 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. --- std/io/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/io/util.ts') 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`. -- cgit v1.2.3