Create a new Status command with default settings.
()
| 205 | impl Status { |
| 206 | /// Create a new Status command with default settings. |
| 207 | pub fn new() -> Self { |
| 208 | Self { |
| 209 | path: None, |
| 210 | short: false, |
| 211 | json: false, |
| 212 | no_untracked: false, |
| 213 | debug_ignore: false, |
| 214 | reindex: false, |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | /// Builder: set the path filter. |
| 219 | pub fn with_path(mut self, path: impl Into<String>) -> Self { |
nothing calls this directly
no test coverage detected