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:
parent
ad11de94e5
commit
e0fdfb2e70
11 changed files with 89 additions and 30 deletions
|
@ -11,6 +11,7 @@ import Common.Annex
|
|||
import qualified Annex
|
||||
import Types.Backend
|
||||
import Types.Key
|
||||
import Types.KeySource
|
||||
import qualified Build.SysConfig as SysConfig
|
||||
|
||||
type SHASize = Int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue