add startAction parameter for KeySha
I have a use planned for this in Command.Migrate. Sponsored-by: unqueued on Patreon
This commit is contained in:
parent
1f811c340d
commit
b55efc179a
22 changed files with 34 additions and 31 deletions
|
@ -75,7 +75,7 @@ seek' o fto = startConcurrency (stages fto) $ do
|
|||
batchAnnexed fmt seeker keyaction
|
||||
where
|
||||
seeker = AnnexedFileSeeker
|
||||
{ startAction = start fto (removeWhen o)
|
||||
{ startAction = const $ start fto (removeWhen o)
|
||||
, checkContentPresent = case fto of
|
||||
FromOrToRemote (FromRemote _) -> Nothing
|
||||
FromOrToRemote (ToRemote _) -> Just True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue