pub fn load(
layout: &RepoLayout,
tree_hash: &Hash,
expected_filter_hash: &Hash,
) -> Result<Option<(SparseManifest, SparseProof)>, CacheError>Expand description
Read and authenticate a bounded v2 cache witness against the requested tree and filter identities. Unsupported versions, malformed and substituted entries fail.
ยงErrors
Returns filesystem, wire or identity errors; callers may rebuild on a miss.