Registry / utility / path-clean

path-clean

JSON →
library1.0.1rscratesunverified

A Rust implementation of cleanname or path.Clean

# Cargo.toml [dependencies] path-clean = "1.0.1"
INSTALL
IMPORT
SIG · PATH-CLEAN
P
path-clean
utilityrustv1.0.1
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.

clean
use path_clean::clean;

Clean a path by resolving `.` and `..` components

use path_clean::clean; fn main() { let cleaned = clean("/foo/../bar/./baz"); println!("Cleaned path: {}", cleaned.display()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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