monger-core 0.14.0

MongoDB version manager
Documentation
1
2
3
4
5
6
7
8
9
10
use super::LinuxType;

pub fn check_amazon(id: &str) -> Option<LinuxType> {
    // Why do you not like vowels, Amazon...
    if id == "amzn" {
        Some(LinuxType::Amazon)
    } else {
        None
    }
}