-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 missing File stats for std::fs::Metadata #23023
Comments
Sadly, the You’ll have to use unix specific functions when these come around to get things like uid, gid, nlink, mode etc. |
Could there be a unix trait extension for exposing such stats? |
It is very likely there will be one. We just didn't even start working on
|
Thanks for the issue! I'm going to start collecting possible |
Currently, the Metadata type does not support checking for other different kinds of files identified by a call to stat, like symlinks (softlinks?), block devices, and named pipes, as shown from the std::old_io::FileType enum and getting the file stats, like uid, gid, rdev, etc, like with std::old_io::UnstableFileStat.
The text was updated successfully, but these errors were encountered: