pathdiv 0.1.0

This library provides an API similar to pathlib of python.
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate pathdiv;

use pathdiv::PathDiv;

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