maintain set of files pendingAdd

Kqueue needs to remember which files failed to be added due to being open,
and retry them. This commit gets the data in place for such a retry thread.

Broke KeySource out into its own file, and added Eq and Ord instances
so it can be stored in a Set.
This commit is contained in:
Joey Hess 2012-06-20 16:07:14 -04:00
parent ad11de94e5
commit e0fdfb2e70
11 changed files with 89 additions and 30 deletions

View file

@ -12,6 +12,7 @@ import Annex.Exception
import Command
import qualified Annex
import qualified Annex.Queue
import Types.KeySource
import Backend
import Logs.Location
import Annex.Content