Commit Graph

34 Commits

Author SHA1 Message Date
Asher Gomez
0b2497f16e
fix: update codebase to work with Deno RC (#6018)
* fix: update codebase to work with Deno RC

* work

* fix

* fix

* fix

* fixes

* work

* update

* fixes

* fix

* revert
2024-09-20 09:29:31 +10:00
Asher Gomez
d6a6d8b806
BREAKING(fs): throw Deno.errors.NotSupported instead of SubdirectoryMoveError in move[Sync]() (#5532)
* BREAKING(fs): replace `SubdirectoryMoveError` exception with `Deno.errors.InvalidData`

* NotSupported
2024-07-25 14:53:22 +09:00
Asher Gomez
c349da2e43
chore(fs): remove redundant constructor examples (#5511)
chore(fs): remove constructor examples
2024-07-23 12:06:03 +09:00
Asher Gomez
c710c93ab0
docs(fs): fix options argument display (#5487) 2024-07-19 13:10:29 +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
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
Asher Gomez
9254339170
fix(fs): SubdirectoryMoveError extends Error correctly (#4528) 2024-03-27 17:09:09 +11: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
Asher Gomez
0f44bdb592
chore(fs): complete documentation (#3897) 2023-12-05 19:52:56 +11:00
tetraphobia
c05ce92bf2
fix(fs): fix NotFound error when moving src to itself with overwrite: true (#3289) 2023-04-05 20:19:24 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
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