-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Deno.utimes() api #1948
Comments
Node:
https://nodejs.org/api/fs.html#fs_fs_utimes_path_atime_mtime_callback Rust:standard library does not implement utimes, However there is a crate that does:
https://docs.rs/utime/0.2.2/utime/ Go:
https://golang.org/pkg/os/ (search for |
Cool - thanks for researching that. I'd say the interface should be:
Any objections? |
Probably also allow changing just one of the 2 timestamps? (similar to what utimensat does) |
Deno.utimes()
change the file system timestamps of the object referenced by path.The text was updated successfully, but these errors were encountered: