pub fn open_hash<P>(cache: P, sri: Integrity) -> Result<Get, Error>
where
    P: AsRef<Path>,
{
    Ok(Get {
        reader: read::open(cache.as_ref(), sri)?,
    })
}
/// Opens a new file handle into the cache, based on its integrity address.
Opens a new file handle into the cache, based on its integrity address.
Opens a new file handle into the cache based on its integrity address .
pub fn open_hash<P>(cache: P, sri: Integrity) -> Result<Get, Error>
where
    P: AsRef<Path>,
{
    Ok(Get {
        reader: read::open(cache.as_ref(), sri)?,
    })
}
pub fn open_hash < P > ( cache : P , sri : Integrity ) -> Result < Get , Error > where P : AsRef < Path > , { Ok ( Get { reader : read :: open ( cache . as_ref ( ) , sri ) ? , } ) }
Opens a new file handle into the cache, based on its integrity address.
Opens a new file handle into the cache based on its integrity address .
cache
P
sri
Integrity
cache
P
sri
Integrity