pub fn remove(path: impl AsRef<Path>) -> Result<()>
fs
Remove path as either a file or empty directory.
path
No-op if the path does not exist. Error if the path is a non-empty directory.