Closed lpil closed 1 year ago
This function exists now and is called create_dir_all
.
Thank you
We now have "dir" and "directory". Should we pick one to be consistent?
Ehhh probably? Rust std::fs went with create_dir
and create_dir_all
, so maybe we should too. It'll be the second time in two days I've changed the function name for consistency haha (it was make_directory
but I didn't want to have a function called make_file
so I swapped make for create).
Yeah I have some docs updates to make too, I think I'm gonna make this change.
Personally I would probably go for directory
as core libraries don't use abbreviations anywhere, for clarity, but both seem fine.
This is done now :)
Hello!
It would be handy to have a function which will create a directory and any parent directories that need to be created.
Cheers, Louis