remove

Function remove 

Source
pub fn remove<P: AsRef<Path>>(path: P) -> Result<(), ApiError>
Expand description

Removes a file from the filesystem. Directory is a file too.

Works similarly to [std::fs::remove_file] and [std::fs::remove_dir].

Uses sys::ffi::playdate_file::unlink.