summaryrefslogtreecommitdiff
path: root/std/fs
AgeCommit message (Collapse)Author
2020-09-08test(std/fs): make tests runnable from any directory (#7388)Casper Beyer
2020-09-07BREAKING(std/fs): remove writeJson and writeJsonSync (#7256)Casper Beyer
2020-09-07BREAKING(std/fs): remove readJson and readJsonSync (#7255)Casper Beyer
2020-09-01fix: use millisecond precision for Deno.futime and Deno.utime (#7299)Casper Beyer
2020-08-29docs(std/fs): remove stale references to readFileStr and writeFileStr (#7254)Casper Beyer
2020-08-25docs(std/fs): provide more context on unstable perm (#6748)Paul Jones
2020-08-23docs(fs/walk): fix code example (#7166)木杉
2020-08-11test(std): fs/writeJson add test for append option (#6889)Jesse Jackson
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-08-06refactor: Rewrite globToRegExp() (#6963)Nayeem Rahman
2020-07-26test(std): remove unstable from multiple tests (#6882)Trivikram Kamat
2020-07-26fix(std/json): Add newline at the end of json files (#6885)Marcin Puc
2020-07-23fix(std/fs): remove unexisted imports (#6850)Gerald
2020-07-22BREAKING(std/fs): remove readFileStr and readFileStrSync (#6848)Casper Beyer
This removes the readFileStr and readFileStrSync functions which are effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2020-07-22BREAKING(std/fs): remove writeFileStr and writeFileStrSync (#6847)Casper Beyer
This removes the writeFileStr and writeFileStrSync functions which are effectivly duplicates of Deno.writeTextFile and Deno.writeTextFileSync.
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-05fix(std/tesing/asserts): assertEquals/NotEquals should use milliseconds in ↵uki00a
Date (#6644)
2020-07-05re-enable follow symlinks walk test on Windows (#6626)Casper Beyer
2020-06-20docs: document and add examples of expandGlob (#6404)Yoshiya Hinosawa
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-12make std deno-lint clean (#6240)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-09Remove redundant call to `ensureDirSync` (#6189)Casper Beyer
There's a seemingly redundant call to `ensureDirSync` right after a call to `await ensureDir`. This removes the offending call.
2020-06-08doc(std/fs): fix sync walk example (#6174)jersou
The example doesn't compile : Property 'filename' does not exist on type 'WalkEntry'. The property has been renamed : fileInfo.filename → fileInfo.name
2020-06-07refactor(std): remove testing dependencies from non-test code (#5838)Chris Knight
2020-06-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-05-20Provide required arguments to walk in example. (#5668)Hendrik
2020-05-19Implement Deno.symlink() for windows (#5533)Ali Hasani
2020-05-17Miscellaneous documentation and spelling improvements (#5527)Bert Belder
* Extended/updated documentation on code editor setup and plugins. * Moved documentation to the right file. * Fixed spelling errors in documentation and code. * Updated broken links. Co-authored-by: 迷渡 <justjavac@gmail.com> Co-authored-by: AlfieriChou <alfierichou@gmail.com> Co-authored-by: Anil Seervi <anil13112000@gmail.com Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com> Co-authored-by: József Sallai <jozsef@sallai.me> Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de> Co-authored-by: Tommy May <tommymay37@gmail.com> Co-authored-by: Turbinya <wownucleos@gmail.com> Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17Improve moveSync jsdocA.E Clarence
2020-05-16Fix spelling: "--alow-write" => "--allow-write" (#5486)Akash Vishwakarma
2020-05-16Fixed Typo (#5495)Anil Seervi
2020-05-16docs(std): Fix spelling mistake on permission (#5476)domharrington
2020-05-15refactor(fs): use every instead of reduce (#5323)Linus Unnebäck
The previous usage of `reduce` was basically implementing the `every` A small difference is that the new implementation will stop checking as soon as one element have returned false, which will reduce the number of unnecessary checks.
2020-05-13Update to TypeScript 3.9 (#4510)Kitson Kelly
2020-05-09BREAKING(std): reorganization (#5087)Nayeem Rahman
* Prepend underscores to private modules * Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result. * Move std/_util/async.ts to std/async * Move std/util/sha*.ts to std/hash
2020-05-04BREAKING: remove CLI 'deno script.ts' hack (#5026)Bartek Iwańczuk
This PR removes the hack in CLI that allows to run scripts with shorthand: deno script.ts. Removing this functionality because it hacks around short-comings of clap our CLI parser. We agree that this shorthand syntax is desirable, but it needs to be rethinked and reimplemented. For 1.0 we should go with conservative approach that is correct.
2020-05-01fix std/fs/walk example (#5030)Bert Belder
2020-04-30doc(std/fs): README.md (#4913)张超杰
2020-04-30Unstable methods should not appear in runtime or d.ts (#4957)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-04-30fix(std): use fromFileUrl (#5005)Ali Hasani
2020-04-29make camel case readDir, readLink, realPath (#4995)Ryan Dahl
2020-04-29BREAKING: Include limited metadata in 'DirEntry' objects (#4941)Bert Belder
This change is to prevent needed a separate stat syscall for each file when using readdir. For consistency, this PR also modifies std's `WalkEntry` interface to extend `DirEntry` with an additional `path` field.
2020-04-28BREAKING: Use LLVM target triple for Deno.build (#4948)Ryan Dahl
Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin"
2020-04-28BREAKING: remove overload of Deno.test() (#4951)Bartek Iwańczuk
This commit removes overload of Deno.test() that accepted named function.
2020-04-27Rename FileInfo time fields and represent them as Date objects (#4932)Bert Belder
This patch also increases the resolution of reported file times to sub-millisecond precision.
2020-04-27fix: typo fs readme.md (#4903)张超杰
2020-04-26fix(std/fs): move dest if not exists and overwrite (#4910)张超杰
2020-04-25BREAKING CHANGE: remove Deno.OpenMode (#4884)Bartek Iwańczuk
This commit removes Deno.OpenMode along with overloaded variants of Deno.open() and Deno.openSync() that used OpenMode.
2020-04-16refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763)Nayeem Rahman
2020-04-03fix erroneous assert (#4608)dubiousjim
2020-04-01Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ ↵Ryan Dahl
(#4565) also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.