also generate a drop safety proof for move --from remote

This commit is contained in:
Joey Hess 2015-10-09 16:16:03 -04:00
parent b944da832b
commit e392ec112f
Failed to extract signature
4 changed files with 39 additions and 5 deletions

View file

@ -19,7 +19,7 @@ module Annex.NumCopies (
numCopiesCheck',
verifyEnoughCopiesToDrop,
verifiableCopies,
UnVerifiedCopy,
UnVerifiedCopy(..),
) where
import Common.Annex
@ -115,7 +115,7 @@ verifyEnoughCopiesToDrop
-> [UUID] -- repos to skip considering (generally untrusted remotes)
-> [VerifiedCopy] -- copies already verified to exist
-> [UnVerifiedCopy] -- places to check to see if they have copies
-> (SafeDropProof -> Annex a) -- action to perform to drop
-> (SafeDropProof -> Annex a) -- action to perform the drop
-> Annex a -- action to perform when unable to drop
-> Annex a
verifyEnoughCopiesToDrop nolocmsg key removallock need skip preverified tocheck dropaction nodropaction =