Skip to main content

restore_cache

Function restore_cache 

Source
pub fn restore_cache(
    pager: &mut dyn CachePager,
    blobs: &dyn BlobStore,
    manifest_digest: &Digest256,
) -> Result<()>
Expand description

Restore the cache described by manifest_digest into pager. The pager must be empty (no occupied pages) and the same engine config as the one that produced the snapshot. Mismatches surface as pf_core::Error::Integrity.