Skip to main content

judge_file

Function judge_file 

Source
pub fn judge_file(
    keys: &[UpdateKey],
    tag: &str,
    fetched: Option<(&[u8], &str, &[u8])>,
    name: &str,
    size: u64,
    sha256: &str,
) -> Outcome
Expand description

The decision, given what was fetched (None: the release has no signed manifest) and the file called name that has size bytes and hashes to sha256.