pub fn check_plugin_whitelist(
owner: &str,
repository: &str,
commit_sha: &str,
version: &str,
whitelist: &[WhitelistEntry],
) -> Result<bool, Error>Expand description
Returns Ok(true) iff the quadruple matches at least one entry
in whitelist. Each field is compiled as ^(?:pattern)$ so
patterns like Object won’t match ObjectAttacker. Returns
Err(regex::Error) if any pattern fails to compile.