new matching options --want-get-by and --want-drop-by

Sponsored-by: Graham Spencer on Patreon
This commit is contained in:
Joey Hess 2022-07-28 13:26:03 -04:00
parent 2bb42fa003
commit be19a68276
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
11 changed files with 65 additions and 15 deletions

View file

@ -88,7 +88,7 @@ queueTransfersMatching matching reason schedule k f direction
- already have it. -}
| otherwise = do
s <- locs
filterM (wantSend True (Just k) f . Remote.uuid) $
filterM (wantGetBy True (Just k) f . Remote.uuid) $
filter (\r -> not (inset s r || Remote.readonly r))
(syncDataRemotes st)
where