summaryrefslogtreecommitdiff
path: root/std/fs
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek Iwańczuk
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-11-30feat(std/fs): Re-enable `followSymlinks` on `walk()` (#8479)Liam Murphy
2020-11-20test(std): make test output less noisy (#8445)Bartek Iwańczuk
This commit makes output of std/ tests less noisy by passing "--quiet" flag to Deno subprocesses run as part of test suite.
2020-11-19Add JSDocs to std/fs/walk.ts (#8426)inokawa
2020-11-14refactor(std): add std/_util/os.ts module (#8370)Behnam Mohammadi
This commit adds "std/_util/os.ts" module which contains common os detection logic and is browser compatible. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-13refactor(std/fs): moved isCopyFolder to options (#8319)Behnam Mohammadi
2020-11-10refactor(std/fs): remove unnecessary if else block (#8321)Behnam Mohammadi
2020-11-10refactor(std/fs): improve performance by using some instead filter method ↵Behnam Mohammadi
(#8322)
2020-11-09refactor(std): remove redundant code in move.ts (#8269)Behnam Mohammadi
2020-11-02docs: fix typo in std/fs README.md (#8104)Khushraj Rathod
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes
2020-10-04docs(std): version all imports in README (#7442)tokiedokie
Use $STD_VERSION in std/ README files to automatically display proper version.
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-01feat(std/path): Align globToRegExp() with bash glob expansion (#7209)Nayeem Rahman
- feat: Support escaping glob characters - feat: Support more character classes - feat: Match characters literally on segment parse failure - fix: Match nothing for empty globs - fix: Contain any glob syntax to its path segment - perf: Remove extraneous separators from generated regex - doc: Add detailed JSDoc - chore: Remove old copyright headers
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-23fix(std/fs): mark createWalkEntry(Sync) as internal (#7643)Casper Beyer
2020-09-21chore: add copyright (#7593)tokiedokie
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