deno
fc6f0d38 - fix(ext/node): implement `fchmod` on windows (#30704)

Commit
319 days ago
fix(ext/node): implement `fchmod` on windows (#30704) - Also fixes `node:fs.fstat` because it was incorrectly showing the file mode on windows, which is needed by the node compat test. - Moves the `stat_extra` function from `ext/fs/std_fs.rs` (deno_fs) into `ext/io/lib.rs` (deno_io), because it's more convenient to export it from there letting us to use the function on `deno_fs` and `deno_io`, and currently `deno_fs` had already used `deno_io` as a dependency. - Allows [parallel/test-fs-chmod-mask.js](https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-fs-chmod-mask.js) and [parallel/test-fs-chmod.js](https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-fs-chmod.js) tests to pass.
Author
Parents
Loading