[][src]Function pkgsrc::pkg_match

pub fn pkg_match(pattern: &str, pkg: &str) -> bool

Compare package pkg against pattern pattern.