Commit Graph

31 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
Yoshiya Hinosawa
b75d42a329
test(fs): improve ensureSymlink() test (#5087) 2024-06-20 12:23:08 +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
ryota2357
1e0764dc23
fix(fs/ensure_symlink): check symlink is pointing the given target (#4371) 2024-02-28 11:50:33 +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
Yoshiya Hinosawa
6facda630a
refactor(_util): remove _util/os (#3564) 2023-08-25 18:07:43 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals (#3566)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
ud2
159060b15c
perf: repoint internal imports to single-export files (#3537) 2023-08-14 16:08:42 +09:00
locriacyber
69fa1e956c
fix(fs/ensure_symlink): lstat relative symlink properly (#3216) 2023-03-01 06:24:46 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
8ea6f76d60
fix(fs): ensureSymlink works when symlink already exists (#2642) 2022-09-14 19:44:51 +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
519a862c40 refactor: add _util/os.ts module (denoland/deno#8370)
This commit adds "_util/os.ts" module which contains
common os detection logic and is browser compatible.

Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-02-01 10:46:58 +00:00
Behnam Mohammadi
777b0c1513 refactor(fs): remove unnecessary if else block (denoland/deno#8321) 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
Casper Beyer
292737fe08 Remove redundant call to ensureDirSync (denoland/deno#6189)
There's a seemingly redundant call to `ensureDirSync` right after a call
to `await ensureDir`.

This removes the offending call.
2021-02-01 10:46:57 +00:00
Ali Hasani
0362de74ca Implement Deno.symlink() for windows (denoland/deno#5533) 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
Ry Dahl
3a9eb92372 Happy new year! (denoland/deno#3578) 2021-02-01 10:46:56 +00:00
Nayeem Rahman
5b2aec7a62 std: Move fs/path to the top-level (denoland/deno#3100) 2021-02-01 10:46:56 +00:00
Axetroy
d097e319e8 fs: Remove completed todo item (#406) 2019-05-14 15:11:57 -04:00
Axetroy
0a61800163 fs utils getFileInfoType() return undefined when not found (#341) 2019-04-23 17:42:02 -04:00
Axetroy
8d1b01cfcf feat: add ensureSymlink/ensureSymlinkSync for fs modules (#268) 2019-04-21 15:23:44 -04:00