Skip to main content

dir_delete

Function dir_delete 

Source
pub fn dir_delete(path: &str) -> Result<EmptyStruct, FileError>
Expand description

Delete an empty directory

ยงErrors

Returns a FileError if the filesystem operation fails (e.g. path not found, permission denied, or an I/O error).