summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-07-02 19:33:32 -0700
committerGitHub <noreply@github.com>2024-07-02 19:33:32 -0700
commitdadc606419096325ef0b03b6216ee20bef442045 (patch)
treea09293a1f852d03d13a2b6eb9e4dfb3f552fb7a0 /cli/tsc
parent3324d7203e8d00bb39cfae104e0aec61ba954e9b (diff)
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.
Diffstat (limited to 'cli/tsc')
0 files changed, 0 insertions, 0 deletions