Skip to main content

get_unless

Function get_unless 

Source
pub(crate) fn get_unless(
    folder: &Path,
    key: &[u8; 32],
    hash: &str,
    target: &Path,
    damaged: bool,
) -> Result<(), Fault>
Expand description

As get, the folder’s copy passed over as damaged when damaged: found so before, and the same copy still (share::receive).