Registry / utility / faccess

faccess

JSON →
library0.2.4rscratesunverified

Simple file accessibility checks for Rust, providing cross-platform permission testing.

# Cargo.toml [dependencies] faccess = "0.2.4"
INSTALL
IMPORT
SIG · FACCESS
F
faccess
utilityrustv0.2.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.

access
use faccess::access;

Check if a file is readable using faccess.

use faccess::access; fn main() { match access("/etc/passwd", faccess::R_OK) { Ok(true) => println!("File is readable"), Ok(false) => println!("File is not readable"), Err(e) => eprintln!("Error: {}", e), } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
faccess — cargo add faccess · libregistry