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

@ -82,5 +82,5 @@ start o si file key = stopUnless shouldCopy $
Right (FromRemote _) -> checkwantget
Left ToHere -> checkwantget
checkwantsend = wantSend False (Just key) (AssociatedFile (Just file))
checkwantsend = wantGetBy False (Just key) (AssociatedFile (Just file))
checkwantget = wantGet False (Just key) (AssociatedFile (Just file))