multipath 0.1.0

A library to split file path, like `/home/{user,admin}/file.txt`.
Documentation

multipath   crates_badge doc_badge MIT_badge Cargo tests

A library to split file path, like /home/{user,admin}/file.txt.

⚠ Warning : this version is not finished yet and should not be used in production. Take a look of test accomplishments.

Example :

fn main() {
    assert_eq!(
        multipath::from("/home/{user,admin}/{Desktop,Download}/file.txt"),
        vec![
            "/home/user/Desktop/file.txt",
            "/home/user/Download/file.txt",
            "/home/admin/Desktop/file.txt",
            "/home/admin/Download/file.txt",
        ]
}

Documentation

Please take a look to :