(&self)
| 23 | |
| 24 | impl GlobalConfig { |
| 25 | pub fn colors(&self) -> bool { |
| 26 | match self.color { |
| 27 | ColorChoice::Auto => stderr().is_terminal(), |
| 28 | ColorChoice::Always => true, |
| 29 | ColorChoice::Never => false, |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | #[derive(Debug, Parser)] |
no outgoing calls
no test coverage detected