mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
dadc606419
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. |
||
---|---|---|
.. | ||
crypto | ||
os | ||
zlib | ||
blocklist.rs | ||
buffer.rs | ||
fs.rs | ||
http.rs | ||
http2.rs | ||
idna.rs | ||
ipc.rs | ||
mod.rs | ||
process.rs | ||
require.rs | ||
util.rs | ||
v8.rs | ||
vm.rs | ||
vm_internal.rs | ||
winerror.rs | ||
worker_threads.rs |