factor out IncrementalHasher from IncrementalVerifier
This commit is contained in:
parent
9d3ce224e3
commit
8034f2e9bb
9 changed files with 68 additions and 48 deletions
|
@ -173,7 +173,7 @@ retrieve hv cc = fileRetriever' $ \d k p iv ->
|
|||
withDavHandle hv $ \dav -> case cc of
|
||||
LegacyChunks _ -> do
|
||||
-- Not doing incremental verification for chunks.
|
||||
liftIO $ maybe noop unableIncremental iv
|
||||
liftIO $ maybe noop unableIncrementalVerifier iv
|
||||
retrieveLegacyChunked (fromRawFilePath d) k p dav
|
||||
_ -> liftIO $ goDAV dav $
|
||||
retrieveHelper (keyLocation k) (fromRawFilePath d) p iv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue