/// Copies a cache entry by integrity address to a specified location.
Copies a cache entry by integrity address to a specified location.
Copies a cache entry by integrity address to a specified location .
pub fn copy_hash<P, Q>(cache: P, sri: &Integrity, to: Q) -> Result<u64, Error>
where
    P: AsRef<Path>,
    Q: AsRef<Path>,
{
    read::copy(cache.as_ref(), sri, to.as_ref())
}
pub fn copy_hash < P , Q > ( cache : P , sri : & Integrity , to : Q ) -> Result < u64 , Error > where P : AsRef < Path > , Q : AsRef < Path > , { read :: copy ( cache . as_ref ( ) , sri , to . as_ref ( ) ) }
Copies a cache entry by integrity address to a specified location.
Copies a cache entry by integrity address to a specified location .
cache
P
sri
&Integrity
to
Q