1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/ext/node/polyfills/_fs
Nathan Whitaker dadc606419
fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172)
Part of #18218


- Adds `fs.lutimes` and `fs.lutimesSync` to our node polyfills. To do
this I added methods to the `FileSystem` trait + ops to expose the
functionality to JS.
- Exports `fs._toUnixTimestamp`. Node exposes an internal util
`toUnixTimestamp` from the fs module to be used by unit tests (so we
need it for the unit test to pass unmodified). It's weird because it's
only supposed to be used internally but it's still publicly accessible
- Matches up error handling and timestamp handling for fs.futimes and
fs.utimes with node
- Enables the node_compat utimes test - this exercises futimes, lutimes,
and utimes.
2024-07-02 19:33:32 -07:00
..
_fs_access.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_appendFile.ts chore: update deno_lint for CI (#21802) 2024-01-05 15:03:06 +00:00
_fs_chmod.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_chown.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_close.ts feat: deprecate Deno.close() (#22066) 2024-01-24 15:59:55 +01:00
_fs_common.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_constants.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_copy.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_cp.js fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_cp.js (#24320) 2024-06-24 16:17:26 +10:00
_fs_dir.ts fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_dir.ts (#24319) 2024-06-24 06:22:55 +00:00
_fs_dirent.ts fix(ext/node): Add Dirent.path and Dirent.parentPath (#24257) 2024-06-19 12:51:01 +05:30
_fs_exists.ts refactor: migrate 'ext/node' extension to virtual ops module (#22157) 2024-01-29 14:58:08 +01:00
_fs_fdatasync.ts fix(fs): instanceof check for Deno.FsFile (#22121) 2024-01-25 23:51:29 +01:00
_fs_fstat.ts fix(fs): instanceof check for Deno.FsFile (#22121) 2024-01-25 23:51:29 +01:00
_fs_fsync.ts fix(fs): instanceof check for Deno.FsFile (#22121) 2024-01-25 23:51:29 +01:00
_fs_ftruncate.ts fix(fs): instanceof check for Deno.FsFile (#22121) 2024-01-25 23:51:29 +01:00
_fs_futimes.ts fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172) 2024-07-02 19:33:32 -07:00
_fs_link.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_lstat.ts fix(ext/node): add throwIfNoEntry option in fs.lstatSync (#24006) 2024-05-28 12:24:54 +02:00
_fs_lutimes.ts fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172) 2024-07-02 19:33:32 -07:00
_fs_mkdir.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_mkdtemp.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_open.ts chore: upgrade deno_core (#22124) 2024-01-26 14:04:07 -05:00
_fs_opendir.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_read.ts chore: sync up Node.js test files for v20.11.1 (#24066) 2024-06-11 11:41:44 +00:00
_fs_readdir.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_readFile.ts fix(fs): instanceof check for Deno.FsFile (#22121) 2024-01-25 23:51:29 +01:00
_fs_readlink.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_readv.ts fix(ext/node): Add fs.readv, fs.readvSync (#23166) 2024-04-01 20:42:49 -07:00
_fs_realpath.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_rename.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_rm.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_rmdir.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_stat.ts fix(ext/node): add default methods to fs.StatsBase (#22750) 2024-03-06 23:01:20 +01:00
_fs_statfs.js feat(node): implement fs.statfs() (#22862) 2024-03-13 10:57:59 +00:00
_fs_symlink.ts fix(ext/node): support junction symlinks on Windows (#22762) 2024-03-09 09:07:29 +05:30
_fs_truncate.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_unlink.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_utimes.ts fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172) 2024-07-02 19:33:32 -07:00
_fs_watch.ts fix(ext/node): FsWatcher ref and unref (#22987) 2024-03-20 11:19:53 +05:30
_fs_write.d.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_write.mjs chore: sync up Node.js test files for v20.11.1 (#24066) 2024-06-11 11:41:44 +00:00
_fs_writeFile.ts chore: sync up Node.js test files for v20.11.1 (#24066) 2024-06-11 11:41:44 +00:00
_fs_writev.d.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_fs_writev.mjs refactor: rename built-in node modules from ext:deno_node/ to node: (#19680) 2023-07-02 20:19:30 +02:00