distinguish between incremental verification failing and not being done
Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
325bfda12d
commit
88b63a43fa
7 changed files with 41 additions and 37 deletions
|
@ -72,9 +72,7 @@ fileCopier _ src dest meterupdate iv = docopy
|
|||
fileCopier copycowtried src dest meterupdate iv =
|
||||
ifM (liftIO $ tryCopyCoW copycowtried src dest meterupdate)
|
||||
( do
|
||||
-- Make sure the incremental verifier fails,
|
||||
-- since we did not feed it.
|
||||
liftIO $ maybe noop failIncremental iv
|
||||
liftIO $ maybe noop unableIncremental iv
|
||||
return CopiedCoW
|
||||
, docopy
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue