Home
last modified time | relevance | path

Searched refs:File (Results 1 – 4 of 4) sorted by relevance

/NovaShell/src/
H A Denv.rs2 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()
H A Dparser.rs64 File(String), enumerator
77 Some(RedirectTarget::File(str.clone())) in from_string()
455 RedirectTarget::File(file) => { in execute()
572 RedirectTarget::File(file) => { in execute()
/NovaShell/src/shell/
H A Dmod.rs3 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()
/NovaShell/src/shell/command/
H A Dmod.rs4 use std::{fs::File, io::Read, print};
185 let mut info_file = File::open("/proc/meminfo").unwrap(); in shell_cmd_free()