Expand description

Utility library for std::path::Path and std::path::PathBuf.

use std::path::Path;
use path_utils::PathExt;

let path = Path::new("file.tar.gz");
let extensions = path.extensions_lossy().collect::<Vec<String>>();
assert_eq!(extensions, ["gz", "tar"]);

Structs

An iterator over the Path::extensions of a path, lossily converted.

Traits

Path and PathBuf extensions.