check_if_corpora_exist

Function check_if_corpora_exist 

Source
fn check_if_corpora_exist<'a, PB: ProtocolBehavior>(
    corpus_list: &[&'a str],
) -> Result<(), (Vec<&'static str>, Vec<&'a str>)>
Expand description

Validate the requested corpus names against the protocol’s registered corpuses. ALL_CORPORA is always accepted, since it is expanded to the full registry by build_corpus. On failure returns (available, unknown) for error reporting, mirroring check_if_puts_exist.