diff --git a/src/get.rs b/src/get.rs index 07f84f2..ac1161d 100644 --- a/src/get.rs +++ b/src/get.rs @@ -627,6 +627,16 @@ where inner(cache.as_ref(), key.as_ref(), to.as_ref()) } +/// Hard links a cache entry by integrity address to a specified location, +/// verifying contents as hard links are created. +pub fn hard_link_hash_sync
(cache: P, sri: &Integrity, to: Q) -> Result<()>
+where
+ P: AsRef