-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add statx linux system call so we can implement fs::Metadata::created on Linux #1178
Comments
Should be fine to send a PR to add this API! |
We haven't added other syscalls in the past (e.g. EDIT: e.g. in the docs of
such that the only easy way to call it is using |
@gnzlbg There is a I’m not sure what’s the best way to access the creation information under Linux (if I want to implement a workaround in the meantime), since you mentioned using the syscall directly (note btw that there’s no |
There does not seem to be any open rust-lang/rust issues about this. |
Right now,
std::fs::Metadata::created
returns anErr
on Linux. But the creation time is available with thestatx
system call.https://unix.stackexchange.com/a/407305/289105
The text was updated successfully, but these errors were encountered: