move TransferrerPool from assistant
authorJoey Hess <joeyh@joeyh.name>
Mon, 7 Dec 2020 16:50:48 +0000 (12:50 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 7 Dec 2020 16:50:48 +0000 (12:50 -0400)
commit72e5764a87a088e21e12bb51c52650ca965d2596
tree80166ad6f5950fa5364abbee2512a863effdd65f
parent438d5be1f77e7c9d7ebe8af56db284ab9329ee01
move TransferrerPool from assistant

This old code will now be useful for git-annex beyond the assistant.

git-annex won't use the CheckTransferrer part, and won't run transferkeys
as a batch process, and will want withTransferrer to not shut down
transferkeys processes. Still, the rest of this is a good fit for what I
need now.

Also removed some dead code, and simplified a little bit.

This commit was sponsored by Mark Reidenbach on Patreon.
Annex/TransferrerPool.hs [new file with mode: 0644]
Assistant/TransferSlots.hs
Assistant/TransferrerPool.hs [deleted file]
Assistant/Types/TransferrerPool.hs
Types/TransferrerPool.hs [new file with mode: 0644]
Utility/Batch.hs
git-annex.cabal