multipath 1.0.0

A library to split file path, like `/home/{user,admin}/file.txt`.
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 11.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Jimskapt/multipath
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Jimskapt

multipath   crates_badge doc_badge MIT_badge Cargo tests

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

⚠ Warning : this version now satisfies all the tests. However, I think the code need to be optimized !

Example :

fn main() {
    assert_eq!(
        multipath::parse("/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 :