Searched refs:File (Results 1 – 4 of 4) sorted by relevance
2 fs::File,21 let mut file = File::create(Self::ENV_FILE_PATH).unwrap(); in init_envfile()34 let mut file = File::open(Self::ENV_FILE_PATH).unwrap(); in read_env()
64 File(String), enumerator77 Some(RedirectTarget::File(str.clone())) in from_string()455 RedirectTarget::File(file) => { in execute()572 RedirectTarget::File(file) => { in execute()
3 fs::{self, File, OpenOptions},151 for line in BufReader::new(match File::open(&self.history_path) { in read_commands()153 Err(_) => File::create(&self.history_path).unwrap(), in read_commands()
4 use std::{fs::File, io::Read, print};185 let mut info_file = File::open("/proc/meminfo").unwrap(); in shell_cmd_free()