Skip to main content

verified_files

Function verified_files 

Source
pub(crate) fn verified_files(
    cache: &Cache,
    key: &str,
    sha256: &str,
) -> Result<Vec<FileEntry>, PreflightError>
Expand description

The files of the payload named by sha256, checked against it; by digest rather than through the index, which holds only the newest version, so a restore can name an older one.