Registry / utility / file-owner

file-owner

JSON →
library0.1.2rscratesunverified

Set and get Unix file owner and group.

# Cargo.toml [dependencies] file-owner = "0.1.2"
INSTALL
IMPORT
SIG · FILE-OWNER
F
file-owner
utilityrustv0.1.2
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.

PathExt
use file_owner::PathExt;

Get the owner of a file.

use file_owner::PathExt; use std::path::Path; let path = Path::new("/tmp/test.txt"); if let Ok(owner) = path.owner() { println!("Owner UID: {}", owner); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
file-owner — cargo add file-owner · libregistry