Registry / utility / unix-mode

unix-mode

JSON →
library0.1.4rscratesunverified

Decode, interpret, and display Unix file mode bits, even on non-Unix platforms.

# Cargo.toml [dependencies] unix_mode = "0.1.4"
INSTALL
IMPORT
SIG · UNIX-MODE
U
unix-mode
utilityrustv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mode
use unix_mode::Mode;

Create and display Unix file permissions from mode bits.

use unix_mode::Mode; fn main() { let mode = Mode::from_bits(0o755).unwrap(); println!("Permissions: {}", mode); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
unix-mode — cargo add unix-mode · libregistry