diff options
author | tokiedokie <thetokiedokie@gmail.com> | 2020-10-04 21:18:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 14:18:36 +0200 |
commit | 3d65177dbcaf6d08c7e4a412beece8ee6939d466 (patch) | |
tree | 53b5954f612daa559f8e893471083f854ea63464 /std/archive | |
parent | ec963238230c7f92a29da27ced0a2ec706af92d0 (diff) |
docs(std): version all imports in README (#7442)
Use $STD_VERSION in std/ README files to automatically
display proper version.
Diffstat (limited to 'std/archive')
-rw-r--r-- | std/archive/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/std/archive/README.md b/std/archive/README.md index b14fd9375..d6e148322 100644 --- a/std/archive/README.md +++ b/std/archive/README.md @@ -3,7 +3,7 @@ ## Tar ```ts -import { Tar } from "https://deno.land/std/archive/tar.ts"; +import { Tar } from "https://deno.land/std@$STD_VERSION/archive/tar.ts"; const tar = new Tar(); const content = new TextEncoder().encode("Deno.land"); @@ -27,9 +27,9 @@ writer.close(); ## Untar ```ts -import { Untar } from "https://deno.land/std/archive/tar.ts"; -import { ensureFile } from "https://deno.land/std/fs/ensure_file.ts"; -import { ensureDir } from "https://deno.land/std/fs/ensure_dir.ts"; +import { Untar } from "https://deno.land/std@$STD_VERSION/archive/tar.ts"; +import { ensureFile } from "https://deno.land/std@$STD_VERSION/fs/ensure_file.ts"; +import { ensureDir } from "https://deno.land/std@$STD_VERSION/fs/ensure_dir.ts"; const reader = await Deno.open("./out.tar", { read: true }); const untar = new Untar(reader); |