Home
last modified time | relevance | path

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

/NovaShell/src/
H A Dparser.rs24 mode: RedirectMode,
83 pub enum RedirectMode { enum
88 impl RedirectMode { implementation
89 pub fn from_string(str: &String) -> Option<RedirectMode> { in from_string() argument
91 ">" => Some(RedirectMode::Overwrite), in from_string()
92 ">>" => Some(RedirectMode::Append), in from_string()
178 let mut redirect_object: (Option<RedirectMode>, Option<RedirectTarget>) = (None, None); in parser()
197 redirect_object.0 = RedirectMode::from_string(&symbol); in parser()
450 RedirectMode::Overwrite => false, in execute()
451 RedirectMode::Append => true, in execute()
[all …]