[go: up one dir, main page]

hard_link_unchecked_sync

Function hard_link_unchecked_sync 

Source
pub fn hard_link_unchecked_sync<P, K, Q>(cache: P, key: K, to: Q) -> Result<()>
where P: AsRef<Path>, K: AsRef<str>, Q: AsRef<Path>,
Expand description

Hard links a cache entry by key 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.