Create a new `Cd` command.
(dir: PathBuf)
| 35 | impl Cd { |
| 36 | /// Create a new `Cd` command. |
| 37 | pub fn new(dir: PathBuf) -> Self { |
| 38 | Self { dir } |
| 39 | } |
| 40 | |
| 41 | /// Run the `cd` command. |
| 42 | pub fn run(self) -> Result<Option<Output>> { |
nothing calls this directly
no outgoing calls
no test coverage detected