Closed aslilac closed 11 months ago
something like fn(String, to: String) -> Result(Nil, _)
fn(String, to: String) -> Result(Nil, _)
it'd be great if it could make sure the directory containing to exists as well
to
Pssst this is published as rename_file :) I would use is_directory or create_directory_all depending on your needs for the directory checking bit.
rename_file
is_directory
create_directory_all
something like
fn(String, to: String) -> Result(Nil, _)
it'd be great if it could make sure the directory containing
to
exists as well