summaryrefslogtreecommitdiff
path: root/std/archive
diff options
context:
space:
mode:
Diffstat (limited to 'std/archive')
-rw-r--r--std/archive/README.md8
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);