Commit Graph

29 Commits

Author SHA1 Message Date
Yoshiya Hinosawa
41a2da4788
refactor(fs): reduce the repetition in ensure_dir.ts (#5085) 2024-06-19 17:47:03 +09:00
Asher Gomez
35c240eeed
docs(fs): improve documentation (#4788) 2024-06-07 15:54:50 +12:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Joe Hillenbrand
06866a6d47
fix(fs/ensure_dir): allow links to directories (#4132)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-04-22 20:51:39 +09:00
Asher Gomez
a6251703f7
docs(fs): polish documentation (#4526)
* refactor(datetime): rename `_common.ts` to `_date_time_formatter.ts`

* docs(fs): polish documentation

* work
2024-03-27 17:28:06 +11:00
Yoshiya Hinosawa
4ca2baefe3
fix(fs): reduce perm requirement of ensureDir() (#4041)
Co-authored-by: Florian Schwalm <Florian.Schwalm@seven.one>
2024-01-08 22:36:41 +09:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
6507a76435
refactor(fs): trim internal utilities (#4007) 2023-12-21 18:39:51 +11:00
ayame113
137b40bc43
fix(fs/ensureDir): fix racy ensureDir (#3242) 2023-03-08 21:53:57 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Asher Gomez
c6483bd3e6
feat(fs): support URL params (#2573) 2022-08-30 12:58:48 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
William Perron
69f3d67cb2
chore: remove Promise<void> return type annotation (#819)
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.

used this one-liner to automatically remove everything:

```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
Yusuke Tanaka
d8a589ac80 chore: update copyright to 2021 (denoland/deno#9092) 2021-02-01 10:46:59 +00:00
David Sherret
1425960509 Use dprint for internal formatting (denoland/deno#6682) 2021-02-01 10:46:58 +00:00
Nayeem Rahman
ccb92613f0 refactor: Don't destructure the Deno namespace (denoland/deno#6268) 2021-02-01 10:46:58 +00:00
domharrington
a4df588c0b docs: Fix spelling mistake on permission (denoland/deno#5476) 2021-02-01 10:46:57 +00:00
Nayeem Rahman
1eecc5c7d0 BREAKING: reorganization (denoland/deno#5087)
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move _util/async.ts to async
* Move util/sha*.ts to hash
2021-02-01 10:46:57 +00:00
Nayeem Rahman
b10a0edb43 refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (denoland/deno#4763) 2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
8bd4c5ed4d rename Deno.Err -> Deno.errors (denoland/deno#4093) 2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
f5cbcf287e refactor: remove unneeded ErrorKinds (denoland/deno#3936) 2021-02-01 10:46:57 +00:00
Ry Dahl
8c250d5668 fix: Deno.mkdir should conform to style guide (denoland/deno#3617) 2021-02-01 10:46:56 +00:00
Ry Dahl
3a9eb92372 Happy new year! (denoland/deno#3578) 2021-02-01 10:46:56 +00:00
Axetroy
e24c39a7f0 fix permission errors are swallowed by fs.copy() (denoland/deno#3504) 2021-02-01 10:46:56 +00:00
Axetroy
24f41f67bd fix: ensure exists file/dir must be the same type or it will throw error (#294) 2019-04-07 04:01:23 +03:00
Vincent LE GOFF
1805c18ac7 Improve jsdoc (#277) 2019-03-14 10:24:54 -04:00
Axetroy
9ae941338a feat: add ensureDir/ensureFile for fs modules (#264) 2019-03-12 01:52:43 -04:00