From 5830d1e3205d70509e08d955fe0dc344c59d4866 Mon Sep 17 00:00:00 2001 From: crowlkats Date: Sat, 5 Mar 2022 05:24:29 +0100 Subject: [PATCH] move streams/buffer.ts to io/buffer_stream.ts --- streams/buffer.ts => io/buffer_stream.ts | 1 + streams/buffer_test.ts => io/buffer_stream_test.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename streams/buffer.ts => io/buffer_stream.ts (99%) rename streams/buffer_test.ts => io/buffer_stream_test.ts (96%) diff --git a/streams/buffer.ts b/io/buffer_stream.ts similarity index 99% rename from streams/buffer.ts rename to io/buffer_stream.ts index 1e5524ebd801..a6bc09b0fcc9 100644 --- a/streams/buffer.ts +++ b/io/buffer_stream.ts @@ -1,4 +1,5 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. + import { assert } from "../_util/assert.ts"; import { copy } from "../bytes/mod.ts"; diff --git a/streams/buffer_test.ts b/io/buffer_stream_test.ts similarity index 96% rename from streams/buffer_test.ts rename to io/buffer_stream_test.ts index 9f380f6db0bb..7ba349061d9e 100644 --- a/streams/buffer_test.ts +++ b/io/buffer_stream_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../testing/asserts.ts"; -import { Buffer } from "./buffer.ts"; +import { Buffer } from "./buffer_stream.ts"; Deno.test("Buffer Write & Read", async function () { const buf = new Buffer();