Registry / utility / path-dedot

path-dedot

JSON →
library3.1.1rscratesunverified

Extends `Path` and `PathBuf` to parse paths containing dots (e.g., `.`, `..`) into canonical forms.

# Cargo.toml [dependencies] path-dedot = "3.1.1"
INSTALL
IMPORT
SIG · PATH-DEDOT
P
path-dedot
utilityrustv3.1.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.

PathDedotExt
use path_dedot::PathDedotExt;

Remove dots from a path using the dedot method.

use path_dedot::PathDedotExt; use std::path::Path; fn main() { let path = Path::new("./foo/../bar"); let dedotted = path.dedot().unwrap(); println!("{}", dedotted.display()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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