new matching options --want-get-by and --want-drop-by
Sponsored-by: Graham Spencer on Patreon
This commit is contained in:
parent
2bb42fa003
commit
be19a68276
11 changed files with 65 additions and 15 deletions
|
@ -171,7 +171,7 @@ expensiveScan urlrenderer rs = batch <~> do
|
|||
"expensive scan found too many copies of object"
|
||||
present key af (SeekInput []) [] callCommandAction
|
||||
ts <- if present
|
||||
then liftAnnex . filterM (wantSend True (Just key) af . Remote.uuid . fst)
|
||||
then liftAnnex . filterM (wantGetBy True (Just key) af . Remote.uuid . fst)
|
||||
=<< use syncDataRemotes (genTransfer Upload False)
|
||||
else ifM (liftAnnex $ wantGet True (Just key) af)
|
||||
( use downloadRemotes (genTransfer Download True) , return [] )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue