Hi, I need a function that check the permissions of the current user
in a file (this is the unix access function). In rust i can use the
unsafe function libc::access, but I think must more sense to have it
on the File Metadata object or MetadataExt.

I'm thinking about make a pull request to rust with this function
(calling libc::access) but I want to know if this approach is correct,
and where to include it.

Regards.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to