NOTE
If you want Windows support, check faccess instead.
permissions
Useful filesystem queries for file permissions:
See functions.
is_executableis_readableis_writableis_removableis_creatableaccess_syscallsupports a custom bitfield of permissions.
Examples:
use *;
Alternatives
- faccess - it provides Windows support and a trait-based API.