10 releases
0.1.9 | Sep 12, 2022 |
---|---|
0.1.8 | Sep 9, 2022 |
#1287 in Filesystem
24 downloads per month
Used in 2 crates
4KB
What does this package do?
this package make many folders with one command, rather then using a loop and causing an error.
How does it work?
The code loop through every slash and creates a new file and handles the errors, then returns the result.
How do i use it?
fn main() {
better_file_maker::make_folders(&"yes/cool/somepath/makefile".to_string()).expect("");
}
What can cause an error?
- If the all of the folder exist it will throw an error.
- If the permissions where denied
- OS errors