(&self, vector: Vec<&str>)
| 752 | } |
| 753 | |
| 754 | fn get_first_in_vector(&self, vector: Vec<&str>) -> Option<String> { |
| 755 | if vector.is_empty() { |
| 756 | return None; |
| 757 | } |
| 758 | let first = vector.first().unwrap().to_string(); |
| 759 | if first.is_empty() { None } else { Some(first) } |
| 760 | } |
| 761 | |
| 762 | fn is_windows_admin(&self) -> bool { |
| 763 | let os = self.get_os(); |
nothing calls this directly
no test coverage detected