Lines Matching refs:Path
10 use std::path::{Path, PathBuf};
88 let mut f = self.0.open_with(Path::new(path), &opts)?; in open_file_()
107 .rename(Path::new(src_path), &dest_dir.0, Path::new(dest_path))?; in rename_()
116 let src_path = Path::new(src_path); in hard_link_()
117 let target_path = Path::new(target_path); in hard_link_()
145 self.0.create_dir(Path::new(path))?; in create_dir()
235 self.0.remove_dir(Path::new(path))?; in remove_dir()
240 self.0.remove_file_or_symlink(Path::new(path))?; in unlink_file()
244 let link = self.0.read_link(Path::new(path))?; in read_link()
266 self.0.metadata(Path::new(path))? in get_path_filestat()
268 self.0.symlink_metadata(Path::new(path))? in get_path_filestat()
314 Path::new(path), in set_times()
320 Path::new(path), in set_times()