fn non_license()

in license-scan/src/main.rs [273:278]


fn non_license(path: &Path) -> bool {
    match path.file_name().and_then(|s| s.to_str()) {
        Some(file_name) => file_name.starts_with("NOTICE") || file_name.starts_with("PATENTS"),
        None => false,
    }
}