cacache

Function hard_link_hash_unchecked_sync

Source
pub fn hard_link_hash_unchecked_sync<P, Q>(
    cache: P,
    sri: &Integrity,
    to: Q,
) -> Result<()>
where P: AsRef<Path>, Q: AsRef<Path>,
Expand description

Hard links a cache entry by integrity address to a specified location. The cache entry contents will not be checked, and all the usual caveats of hard links apply: The potentially-shared cache might be corrupted if the hard link is modified.