git-annex/Database
Joey Hess ee251b2e2e
implement updating the ContentIdentifier db with info from the git-annex branch
untested

This won't be super slow, but it does need to diff two likely large
trees, and since the git-annex branch rarely sits still, it will most
likely be run at the beginning of every import.

A possible speed improvement would be to only run this when the database
did not contain a ContentIdentifier. But that would only speed up
imports when there is no new version of a file on the special remote,
at most renames of existing files being imported.

A better speed improvement would be to record something in the git-annex
branch that indicates when an import has been run, and only do the diff
if the git-annex branch has record of a newer import than we've seen
before. Then, it would only run when there is in fact new
ContentIdentifier information available from a remote. Certianly doable,
but didn't want to complicate things yet.
2019-03-06 18:04:30 -04:00
..
Keys Fixed a not equal condition in addAssociatedFile. 2018-11-06 22:50:00 +00:00
ContentIdentifier.hs implement updating the ContentIdentifier db with info from the git-annex branch 2019-03-06 18:04:30 -04:00
Export.hs initial try at using storeExportWithContentIdentifier 2019-03-04 17:50:41 -04:00
Fsck.hs Removed Esqueleto as a dependency. 2018-11-06 22:18:55 +00:00
Handle.hs remove unused BangPatterns 2018-11-09 13:09:26 -04:00
Init.hs Fix build with persistent-sqlite older than 2.6.3. 2018-11-09 13:09:02 -04:00
Keys.hs avoid closeDb opening the db if it's not already open 2018-10-30 22:19:05 -04:00
Queue.hs fix consistency bug reading from export database 2017-09-06 17:19:07 -04:00
Types.hs split out Types.Import and some changes to the types in it 2019-02-21 13:39:09 -04:00