Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 601 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 601 Bytes

pathdiv

Rust Document Crates

This library provides an API similar to pathlib of python. "/" can be used to join the path. PathDiv is a wrapper for PathBuf.

Example

use pathdiv::PathDiv;

let mut path = PathDiv::from("/etc");
path = path / "init.d";
path /= "ssh";
println!("{}", path); // "/etc/init.d/ssh"