path-utils 0.1.1

std::path utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# path-utils

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

```rust
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"]);
```