Added graftTree but it's buggy.

Should use graftTree in Annex.Branch.graftTreeish; it will be faster
than the current implementation there.

Started Annex.Import, but untested and it doesn't yet handle tree
grafting.
This commit is contained in:
Joey Hess 2019-02-21 17:32:59 -04:00
parent 56137ce0d2
commit 8fdea8f444
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
15 changed files with 172 additions and 30 deletions

View file

@ -247,7 +247,7 @@ data ImportActions a = ImportActions
--
-- May also find old versions of files that are still stored in the
-- remote.
{ listImportableContents :: a (Maybe ImportableContents)
{ listImportableContents :: a (Maybe (ImportableContents ContentIdentifier))
-- Retrieves a file from the remote. Ensures that the file
-- it retrieves has the requested ContentIdentifier.
--