Registry / utility / normalize-path

normalize-path

JSON →
library0.2.1rscratesunverified

Like canonicalize, but without performing I/O.

# Cargo.toml [dependencies] normalize-path = "0.2.1"
INSTALL
IMPORT
SIG · NORMALIZE-PATH
N
normalize-path
utilityrustv0.2.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.

NormalizePath
use normalize_path::NormalizePath;

Normalizes a file path without performing any I/O operations.

use normalize_path::NormalizePath; fn main() { let path = std::path::Path::new("/foo/bar/../baz"); let normalized = path.normalize(); println!("Normalized: {:?}", normalized); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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