better_file_maker

Crates.iobetter_file_maker
lib.rsbetter_file_maker
version0.1.9
sourcesrc
created_at2022-09-01 02:53:09.309082
updated_at2022-09-12 21:08:42.003547
descriptiona way to create many files with one command
homepagehttps://carghaiwebsite.web.app/#/
repositoryhttps://github.com/carghai/better_file_writer_rust
max_upload_size
id656402
size11,880
Ekam (ekam-g)

documentation

README

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?

  1. If the all of the folder exist it will throw an error.
  2. If the permissions where denied
  3. OS errors
Commit count: 26

cargo fmt