summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-24 23:07:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-24 23:07:26 -0400
commitde99b5f96633c6e46fe290dd327417436d86a340 (patch)
treeae7ed653b2da31319e79b5acf4e9dd6ad2e0c675 /Annex.hs
parentb2a2c996ad935e87b1f28eb77d12a895986073af (diff)
refactor
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Annex.hs b/Annex.hs
index b0a67899f..3771bf5ba 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -10,7 +10,6 @@
module Annex (
Annex,
AnnexState(..),
- FileInfo(..),
PreferredContentMap,
new,
newState,
@@ -55,6 +54,7 @@ import Types.TrustLevel
import Types.Group
import Types.Messages
import Types.UUID
+import Types.FileMatcher
import qualified Utility.Matcher
import qualified Data.Map as M
import qualified Data.Set as S
@@ -74,12 +74,6 @@ newtype Annex a = Annex { runAnnex :: ReaderT (MVar AnnexState) IO a }
)
type Matcher a = Either [Utility.Matcher.Token a] (Utility.Matcher.Matcher a)
-
-data FileInfo = FileInfo
- { relFile :: FilePath -- may be relative to cwd
- , matchFile :: FilePath -- filepath to match on; may be relative to top
- }
-
type PreferredContentMap = M.Map UUID (Utility.Matcher.Matcher (S.Set UUID -> FileInfo -> Annex Bool))
-- internal state storage