Commit Graph

21 Commits

Author SHA1 Message Date
Lino Le Van
3001bfc431
refactor: remove unnecessary returns (#3046) 2022-12-24 20:13:11 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Michael Gibson
e4f76568a6
fix(fs): use Deno.errors.AlreadyExists where appropriate (#2547) 2022-08-31 16:04:53 +09:00
Asher Gomez
c6483bd3e6
feat(fs): support URL params (#2573) 2022-08-30 12:58:48 +09:00
Asher Gomez
e0bab0e13a
refactor(fs): remove exists and existsSync usage in std/fs (#2546) 2022-08-24 13:28:54 +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
Behnam Mohammadi
77c3514128 refactor: remove redundant code in move.ts (denoland/deno#8269) 2021-02-01 10:46:58 +00:00
David Sherret
1425960509 Use dprint for internal formatting (denoland/deno#6682) 2021-02-01 10:46:58 +00:00
A.E Clarence
7e49a34842 Improve moveSync jsdoc 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
张超杰
72ed873ed4 fix(fs): move dest if not exists and overwrite (denoland/deno#4910) 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
Nayeem Rahman
c8d15ec7b2 refactor: Cleanup options object parameters (denoland/deno#4296) 2021-02-01 10:46:57 +00:00
Ry Dahl
3a9eb92372 Happy new year! (denoland/deno#3578) 2021-02-01 10:46:56 +00:00
Axetroy
a00c51b05b remove unnecessary path.resolve in move/readJson/writeJson (#292) 2019-03-19 13:23:22 -04:00
Axetroy
da4abcd9a3 extract internal method isSubdir to fs/utils.ts (#285) 2019-03-17 12:34:55 -04:00
Vincent LE GOFF
1805c18ac7 Improve jsdoc (#277) 2019-03-14 10:24:54 -04:00
Axetroy
a1fcfb2744 feat: add move/moveSync for fs modules (#266) 2019-03-12 05:11:30 -04:00