This library provides functions to decode and print Unix mode bits / permissions, even on non-Unix platforms.
On Unix, decoding is supported by std::os::unix::fs
in the standard library,
but this crate adds a function to print them in the format used by ls -l
.
For API documentation see https://docs.rs/unix_mode.
Apache-2.0.
Patches are very welcome.
Please read the contribution guidelines and code of conduct.
This is not an official Google project. It is not supported by Google, and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.