Skip to content
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

Fully switch to File::set_times() from utime crate #3501

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

nix6839
Copy link
Contributor

@nix6839 nix6839 commented Oct 15, 2024

set_times will fail for directories unless the file is opened in read-only mode.

Reference: rust-lang/rust#123883

nix6839 and others added 2 commits October 15, 2024 23:15
Future me will end up wondering why we're explicitly declaring read=true
@dae
Copy link
Member

dae commented Oct 15, 2024

TIL. Thank you very much, @nix6839!

@dae dae merged commit 723b5e9 into ankitects:main Oct 15, 2024
1 check passed
dae added a commit that referenced this pull request Oct 15, 2024
dae added a commit that referenced this pull request Oct 15, 2024
@nix6839 nix6839 deleted the remove-utime branch October 15, 2024 14:55
@nix6839 nix6839 restored the remove-utime branch October 15, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants