aboutsummaryrefslogtreecommitdiff
path: root/Types/Backend.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-20 16:07:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-20 16:31:46 -0400
commite0fdfb2e706da2cb1451193c658dc676b0530968 (patch)
tree89ec8551867956be229af9fb726a8bb7a65d6543 /Types/Backend.hs
parentad11de94e54d17c765d980bfe249eca1c9b6cabd (diff)
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.
Diffstat (limited to 'Types/Backend.hs')
-rw-r--r--Types/Backend.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Types/Backend.hs b/Types/Backend.hs
index 97f7cef90..d79787c27 100644
--- a/Types/Backend.hs
+++ b/Types/Backend.hs
@@ -10,13 +10,7 @@
module Types.Backend where
import Types.Key
-
-{- The source used to generate a key. The location of the content
- - may be different from the filename associated with the key. -}
-data KeySource = KeySource
- { keyFilename :: FilePath
- , contentLocation :: FilePath
- }
+import Types.KeySource
data BackendA a = Backend
{ name :: String