Set the working directory for this task.
(mut self, dir: &Dir)
| 44 | |
| 45 | /// Set the working directory for this task. |
| 46 | pub(crate) fn cwd(mut self, dir: &Dir) -> Result<Self> { |
| 47 | self.cmd.cwd_dir(dir.try_clone()?); |
| 48 | Ok(self) |
| 49 | } |
| 50 | |
| 51 | pub(crate) fn new_cmd(description: impl AsRef<str>, mut cmd: Command) -> Self { |
| 52 | let description = description.as_ref().to_string(); |
no outgoing calls
no test coverage detected