Function conch_runtime::eval::redirect_clobber
[−]
[src]
pub fn redirect_clobber<W, E: ?Sized>(
fd: Option<Fd>,
path: W,
env: &E
) -> Redirect<W::EvalFuture> where
W: WordEval<E>,
E: IsInteractiveEnvironment,
Evaluate a redirect which will open a file for writing, regardless if the
noclobber option is set.
If fd is not specified, then STDOUT_FILENO will be used.