Registry / utility / openat

openat

JSON →
library0.1.21rscratesunverified

A wrapper around openat, symlinkat, and similar system calls for safe file system operations.

# Cargo.toml [dependencies] openat = "0.1.21"
INSTALL
IMPORT
SIG · OPENAT
O
openat
utilityrustv0.1.21
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.

Dir
use openat::Dir;

Opens a directory and reads a file from it.

use openat::Dir; let dir = Dir::open(".").unwrap(); let file = dir.open_file("example.txt").unwrap(); println!("Opened file: {:?}", file);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.21latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
openat — cargo add openat · libregistry