Skip to main content

remove

Function remove 

Source
pub fn remove(path: &[i8]) -> (i32, Result<()>)
Expand description

Removes the file or empty directory named by path.

Returns zero and success, or -1 and the filesystem error.