multipath   ![cratesbadge] ![docbadge] ![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 :

rust 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 :