pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> Result<(), ApiError>Expand description
Removes a directory and all of its contents recursively.
Works similarly to [
std::fs::remove_file], [std::fs::remove_dir] and [std::fs::remove_dir_all].
Caution: it also can delete file without any error, if path is a file.
Calls sys::ffi::playdate_file::unlink with recursive.