Searched refs:file_path (Results 1 – 3 of 3) sorted by relevance
18 file_path: PathBuf, field25 let mut file_path = CMD_ARGS.read().unwrap().as_ref().unwrap().log_dir.clone(); in new() localVariable26 file_path.push(format!("{}-{}.log", name, std::process::id())); in new()28 let log_file = File::create(&file_path).expect("Failed to create log file."); in new()34 file_path, in new()60 pub fn file_path(&self) -> &PathBuf { in file_path() method61 &self.file_path in file_path()
117 file_path: &str, in new()121 let inode = ROOT_INODE().lookup(file_path)?; in new()
39 fn open_file(file_path: &str) -> File { in open_file()44 .open(file_path); in open_file()46 let exit_status = match file_path { in open_file()55 ErrorHandler::error_handle(format!("Can't open file: {}", file_path), exit_status); in open_file()