convert tailVerify to not finalize the verification
Added failIncremental so it can force failure to verify. Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
9d533b347f
commit
e07625df8a
3 changed files with 55 additions and 38 deletions
|
@ -50,4 +50,6 @@ data IncrementalVerifier = IncrementalVerifier
|
|||
, finalizeIncremental :: IO Bool
|
||||
-- ^ Called once the full content has been sent, returns true
|
||||
-- if the hash verified.
|
||||
, failIncremental :: IO ()
|
||||
-- ^ Call if the incremental verification needs to fail.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue