deno/ext/node/polyfills/_fs
Daniel Osvaldo Rahmanto ebcb2fa294
fix(ext/node): fs.statfsSync and fs.statfs compatibility (#30662)
Towards #29972

- Converts the polyfill to typescript.
- Implement async op.
- Allows `Buffer` type path.
- Allows
[parallel/test-fs-statfs.js](https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-fs-statfs.js)
test to pass.
2025-09-18 16:03:30 +02:00
..
_fs_access.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_appendFile.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_chmod.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_chown.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_close.ts fix(ext/node): set default callback for fs.close (#30720) 2025-09-15 08:05:31 +00:00
_fs_common.ts fix(ext/node): parse fs open options correctly (#30300) 2025-08-05 11:12:22 +02:00
_fs_constants.ts fix(ext/node): define fs constants correctly across platforms (#30113) 2025-07-31 17:11:01 -04:00
_fs_copy.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_cp.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_dir.ts feat(node API): add fs.glob, fs.globSync, fs.promises.glob (#28972) 2025-07-01 11:35:45 +02:00
_fs_exists.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_fchmod.ts fix(ext/node): add fchmod and fchmodSync (#29791) 2025-06-18 12:48:14 +02:00
_fs_fchown.ts fix(ext/node): add fchown and fchownSync to node:fs (#29408) 2025-05-23 15:00:39 +09:00
_fs_fdatasync.ts fix(ext/node): validate fd is integer on fsync and fdatasync (#30215) 2025-07-28 11:01:00 -04:00
_fs_fstat.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_fsync.ts fix(ext/node): validate fd is integer on fsync and fdatasync (#30215) 2025-07-28 11:01:00 -04:00
_fs_ftruncate.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_futimes.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_glob.ts fix(ext/node): make fs.glob accepts URL cwd (#30705) 2025-09-16 11:12:08 +02:00
_fs_lchmod.ts fix(ext/node): add lchmod, lchmod promise, lchmodSync to node:fs (#29833) 2025-06-26 15:46:07 +09:00
_fs_lchown.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_link.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_lstat.ts fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_lstat.ts (#28644) 2025-03-28 10:52:33 -07:00
_fs_lutimes.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_mkdir.ts fix(ext/node): mkdir() parse file mode (#28609) 2025-03-25 09:33:41 +05:30
_fs_mkdtemp.ts fix(ext/node): fs.mkdtemp and fs.mkdtempSync compatibility (#30602) 2025-09-05 16:12:42 -04:00
_fs_open.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_opendir.ts fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_opendir.ts (#29063) 2025-04-28 15:56:39 +09:00
_fs_read.ts fix(ext/node): validate fs.read on empty buffer (#30706) 2025-09-16 11:16:17 +02:00
_fs_readdir.ts feat(node API): add fs.glob, fs.globSync, fs.promises.glob (#28972) 2025-07-01 11:35:45 +02:00
_fs_readFile.ts fix(ext/node): fix handling of abort signal in readFile (#29028) 2025-04-25 14:48:12 +09:00
_fs_readlink.ts fix(ext/node): validate readlink arguments (#30691) 2025-09-11 18:43:48 +02:00
_fs_readv.ts fix(ext/node): fs readv promisify compatibility (#30149) 2025-07-31 10:17:56 -04:00
_fs_realpath.ts fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_realpath.ts (#28652) 2025-03-28 09:48:19 +01:00
_fs_rename.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_rm.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_rmdir.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_stat.ts Revert "fix(ext/node): fs.stat and fs.statSync compatibility (#30… (#30741) 2025-09-15 19:25:47 -04:00
_fs_statfs.ts fix(ext/node): fs.statfsSync and fs.statfs compatibility (#30662) 2025-09-18 16:03:30 +02:00
_fs_symlink.ts fix(ext/node): fs.symlink and fs.symlinkSync compatibility (#30555) 2025-09-03 17:48:13 -04:00
_fs_truncate.ts fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_truncate.ts (#29422) 2025-05-25 23:49:39 +02:00
_fs_unlink.ts fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) 2025-08-27 09:29:44 -04:00
_fs_utimes.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_watch.ts fix(ext/node): fix fs.watchFile trigger (#29659) 2025-06-11 12:37:59 +09:00
_fs_write.d.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_write.mjs fix(ext/node): fs.read and fs.write promisify compatibility (#30152) 2025-07-22 10:56:27 +02:00
_fs_writeFile.ts fix(std/fs): implement chmod on windows (#30436) 2025-08-18 19:06:22 +02:00
_fs_writev.ts fix(ext/node): add writev method to FileHandle (#27563) 2025-01-14 18:01:14 +09:00