diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-10-16 19:39:33 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-10-16 14:39:33 -0400 |
commit | f51dcc12d7a75a677529d63eb53d7a577d5b9289 (patch) | |
tree | 67c5ee1026a6da84e68b249a77067bfd0b313532 /std/mime | |
parent | 99d8ac70dbf412ee5de9ad2370c75dcd51cc5def (diff) |
std: Move fs/path to the top-level (#3100)
Diffstat (limited to 'std/mime')
-rw-r--r-- | std/mime/multipart.ts | 4 | ||||
-rw-r--r-- | std/mime/multipart_test.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/std/mime/multipart.ts b/std/mime/multipart.ts index 93375242e..8eb27b52a 100644 --- a/std/mime/multipart.ts +++ b/std/mime/multipart.ts @@ -5,11 +5,11 @@ const { min, max } = Math; type Closer = Deno.Closer; type Reader = Deno.Reader; type Writer = Deno.Writer; -import { FormFile } from "../multipart/formfile.ts"; import { equal, findIndex, findLastIndex, hasPrefix } from "../bytes/mod.ts"; -import { extname } from "../fs/path.ts"; import { copyN } from "../io/ioutil.ts"; import { MultiReader } from "../io/readers.ts"; +import { FormFile } from "../multipart/formfile.ts"; +import { extname } from "../path/mod.ts"; import { tempFile } from "../io/util.ts"; import { BufReader, BufWriter, UnexpectedEOFError } from "../io/bufio.ts"; import { encoder } from "../strings/mod.ts"; diff --git a/std/mime/multipart_test.ts b/std/mime/multipart_test.ts index b73cd529a..4382ec670 100644 --- a/std/mime/multipart_test.ts +++ b/std/mime/multipart_test.ts @@ -8,13 +8,13 @@ import { assertThrowsAsync } from "../testing/asserts.ts"; import { test, runIfMain } from "../testing/mod.ts"; +import * as path from "../path/mod.ts"; import { matchAfterPrefix, MultipartReader, MultipartWriter, scanUntilBoundary } from "./multipart.ts"; -import * as path from "../fs/path.ts"; import { FormFile, isFormFile } from "../multipart/formfile.ts"; import { StringWriter } from "../io/writers.ts"; |