(&self, os: &str)
| 148 | } |
| 149 | |
| 150 | pub fn is(&self, os: &str) -> bool { |
| 151 | self.to_str_vector() |
| 152 | .contains(&os.to_ascii_lowercase().as_str()) |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | pub fn str_to_os(os: &str) -> Result<OS, Error> { |
nothing calls this directly
no test coverage detected