pub fn exists_sync<P: AsRef<Path>>(cache: P, sri: &Integrity) -> bool
Returns true if the given hash exists in the cache.