summaryrefslogtreecommitdiff
path: root/std/fs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-08-30 07:19:31 +0800
committerGitHub <noreply@github.com>2020-08-29 19:19:31 -0400
commit62809cd6052c12bb6df59708c56f44cd49e64427 (patch)
tree669b92a737f966ce04db20a7212fa913ff37999c /std/fs
parente27fb301179a8c0b107f46f7ba17e88ea4017bf5 (diff)
docs(std/fs): remove stale references to readFileStr and writeFileStr (#7254)
Diffstat (limited to 'std/fs')
-rw-r--r--std/fs/README.md31
1 files changed, 0 insertions, 31 deletions
diff --git a/std/fs/README.md b/std/fs/README.md
index 1287df489..b31d20814 100644
--- a/std/fs/README.md
+++ b/std/fs/README.md
@@ -174,37 +174,6 @@ async function printFilesNames() {
printFilesNames().then(() => console.log("Done!"));
```
-### readFileStr
-
-Read file and output it as a string. Note: this module does not require the
-`--unstable` flag.
-
-**ReadOptions**
-
-- encoding : The encoding to read file. lowercased.
-
-```ts
-import { readFileStr, readFileStrSync } from "https://deno.land/std/fs/mod.ts";
-
-readFileStr("./target.dat", { encoding: "utf8" }); // returns a promise
-readFileStrSync("./target.dat", { encoding: "utf8" }); // string
-```
-
-### writeFileStr
-
-Write the string to file. Note: this module does not require the `--unstable`
-flag.
-
-```ts
-import {
- writeFileStr,
- writeFileStrSync,
-} from "https://deno.land/std/fs/mod.ts";
-
-writeFileStr("./target.dat", "file content"); // returns a promise
-writeFileStrSync("./target.dat", "file content"); // void
-```
-
### expandGlob
Expand the glob string from the specified `root` directory and yield each result