Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 3 of 3) sorted by relevance

/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dlogset.rs18 file_path: PathBuf, field
25 let mut file_path = CMD_ARGS.read().unwrap().as_ref().unwrap().log_dir.clone(); in new() localVariable
26 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() method
61 &self.file_path in file_path()
/DragonOS/kernel/src/process/
H A Dexec.rs117 file_path: &str, in new()
121 let inode = ROOT_INODE().lookup(file_path)?; in new()
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs39 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()