Builder: set the JSON output flag.
(mut self, json: bool)
| 217 | |
| 218 | /// Builder: set the JSON output flag. |
| 219 | pub fn with_json(mut self, json: bool) -> Self { |
| 220 | self.json = json; |
| 221 | self |
| 222 | } |
| 223 | |
| 224 | /// Get the output format based on command flags. |
| 225 | pub fn get_format(&self) -> DiffFormat { |
nothing calls this directly
no outgoing calls
no test coverage detected