support incremental verification when retrieving from export/import remotes
authorJoey Hess <joeyh@joeyh.name>
Mon, 9 May 2022 16:25:04 +0000 (12:25 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 9 May 2022 16:25:04 +0000 (12:25 -0400)
commit90950a37e52ac834a3986447ded79c0dae99f4f2
tree5c340ceec7837eb1f2c257ac55fab5bde481854a
parent52b768db450c66bde874687952ce3417deedbd46
support incremental verification when retrieving from export/import remotes

None of the special remotes do it yet, but this lays the groundwork.

Added MustFinishIncompleteVerify so that, when an incremental verify is
started but not complete, it can be forced to finish it. Otherwise, it
would have skipped doing it when verification is disabled, but
verification must always be done when retrievin from export remotes
since files can be modified during retrieval.

Note that retrieveExportWithContentIdentifier doesn't support incremental
verification yet. And I'm not sure if it can -- it doesn't know the Key
before it downloads the content. It seems a new API call would need to
be split out of that, which is provided with the key.

Sponsored-by: Dartmouth College's Datalad project
Annex/Verify.hs
Command/TestRemote.hs
Remote/Adb.hs
Remote/Directory.hs
Remote/External.hs
Remote/Helper/ExportImport.hs
Remote/HttpAlso.hs
Remote/Rsync.hs
Remote/S3.hs
Remote/WebDAV.hs
Types/Remote.hs