diff options
| author | Axetroy <troy450409405@gmail.com> | 2019-05-27 07:58:31 +0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-27 02:58:31 +0300 |
| commit | ad3de86604f6bae352e06ef9154e371f4d5d1860 (patch) | |
| tree | fa52c7502697f7e70a294921815bc60d9f59849a /io | |
| parent | 8d94f70bef6e44d0a0ddb6f8410a35d95a34139a (diff) | |
rename strings/strings.ts to strings/mod.ts (denoland/deno_std#449)
Original: https://github.com/denoland/deno_std/commit/2f003fa35cb354b1b1cc43af196a0d356b334ed3
Diffstat (limited to 'io')
| -rw-r--r-- | io/readers.ts | 2 | ||||
| -rw-r--r-- | io/readers_test.ts | 2 | ||||
| -rw-r--r-- | io/util.ts | 2 | ||||
| -rw-r--r-- | io/writers.ts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/io/readers.ts b/io/readers.ts index 915d73e6c..2ebfc6b15 100644 --- a/io/readers.ts +++ b/io/readers.ts @@ -1,7 +1,7 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. type Reader = Deno.Reader; type ReadResult = Deno.ReadResult; -import { encode } from "../strings/strings.ts"; +import { encode } from "../strings/mod.ts"; /** Reader utility for strings */ export class StringReader implements Reader { diff --git a/io/readers_test.ts b/io/readers_test.ts index a3806fbe2..e4f159c74 100644 --- a/io/readers_test.ts +++ b/io/readers_test.ts @@ -4,7 +4,7 @@ import { assertEquals } from "../testing/asserts.ts"; import { MultiReader, StringReader } from "./readers.ts"; import { StringWriter } from "./writers.ts"; import { copyN } from "./ioutil.ts"; -import { decode } from "../strings/strings.ts"; +import { decode } from "../strings/mod.ts"; test(async function ioStringReader(): Promise<void> { const r = new StringReader("abcdef"); diff --git a/io/util.ts b/io/util.ts index 30df2a0e1..a0cf08102 100644 --- a/io/util.ts +++ b/io/util.ts @@ -2,7 +2,7 @@ const { Buffer, mkdir, open } = Deno; type File = Deno.File; type Reader = Deno.Reader; -import { encode } from "../strings/strings.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`. diff --git a/io/writers.ts b/io/writers.ts index 07c5743ad..869018728 100644 --- a/io/writers.ts +++ b/io/writers.ts @@ -1,6 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. type Writer = Deno.Writer; -import { decode, encode } from "../strings/strings.ts"; +import { decode, encode } from "../strings/mod.ts"; /** Writer utility for buffering string chunks */ export class StringWriter implements Writer { |
