/// Remove a file or directory under the `path`
Remove a file or directory under the `path`
Remove a file or directory under the ` path `
fn remove(mut self, path: &str) -> Self {
        let path = Path::new(path);
        if path.is_absolute() {
            panic!("Only relative paths are allowed.");
        }
        let remove = self.remove_file(path);
        if remove.is_err() {
            panic!("Cannot remove file: {:?}", remove);
        }
        self
    }
fn remove ( mut self , path : & str ) -> Self { let path = Path :: new ( path ) ; if path . is_absolute ( ) { panic ! ( " " ) ; } let remove = self . remove_file ( path ) ; if remove . is_err ( ) { panic ! ( " " remove ) ; } self }
Remove a file or directory under the `path`
Remove a file or directory under the ` path `
mut self
path
&str