Crates.io | better_file_maker |
lib.rs | better_file_maker |
version | 0.1.9 |
source | src |
created_at | 2022-09-01 02:53:09.309082 |
updated_at | 2022-09-12 21:08:42.003547 |
description | a way to create many files with one command |
homepage | https://carghaiwebsite.web.app/#/ |
repository | https://github.com/carghai/better_file_writer_rust |
max_upload_size | |
id | 656402 |
size | 11,880 |
this package make many folders with one command, rather then using a loop and causing an error.
The code loop through every slash and creates a new file and handles the errors, then returns the result.
fn main() {
better_file_maker::make_folders(&"yes/cool/somepath/makefile".to_string()).expect("");
}