pub fn try_create_dir(path: &str) -> Result<(), FileError>
It’s like create_dir but does not raise an error if path already exists
create_dir
path