diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-07-23 09:34:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 21:34:20 -0400 |
commit | 843b54549c04337f18c62d1daf159a79865de6b7 (patch) | |
tree | 1b77a6ad95fa5d5e85f4a6db5a8b9f8ab00d8f49 /std/fs/README.md | |
parent | b573bbe4471c3872f96e1d7b9d1d1a2b39ff4cf1 (diff) |
BREAKING(std/fs): remove writeFileStr and writeFileStrSync (#6847)
This removes the writeFileStr and writeFileStrSync functions which are
effectivly duplicates of Deno.writeTextFile and Deno.writeTextFileSync.
Diffstat (limited to 'std/fs/README.md')
-rw-r--r-- | std/fs/README.md | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/std/fs/README.md b/std/fs/README.md index 612b1393f..dd1692524 100644 --- a/std/fs/README.md +++ b/std/fs/README.md @@ -183,20 +183,6 @@ readFileStr("./target.dat", { encoding: "utf8" }); // returns a promise readFileStrSync("./target.dat", { encoding: "utf8" }); // string ``` -### writeFileStr - -Write the string to file. - -```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 |