Lines Matching refs:RedirectMode
24 mode: RedirectMode,
83 pub enum RedirectMode { enum
88 impl RedirectMode { impl
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()
568 RedirectMode::Overwrite => false, in execute()
569 RedirectMode::Append => true, in execute()