Registry / utility / resolve-path

resolve-path

JSON →
library0.1.0rscratesunverified

Easily resolve tilde paths and relative paths to absolute paths.

# Cargo.toml [dependencies] resolve-path = "0.1.0"
INSTALL
IMPORT
SIG · RESOLVE-PATH
R
resolve-path
utilityrustv0.1.0
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.

resolve_path
use resolve_path::resolve_path;

Resolves a tilde path to an absolute path.

use resolve_path::resolve_path; fn main() { let path = resolve_path("~/documents").unwrap(); println!("Resolved path: {:?}", path); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
resolve-path — cargo add resolve-path · libregistry