summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Annex.hs b/Annex.hs
index c5a098d98..13505de46 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -24,6 +24,7 @@ import qualified GitQueue
import qualified BackendClass
import qualified RemoteClass
import qualified CryptoTypes
+import TrustLevel
-- git-annex's monad
type Annex = StateT AnnexState IO
@@ -44,6 +45,7 @@ data AnnexState = AnnexState
, toremote :: Maybe String
, fromremote :: Maybe String
, exclude :: [String]
+ , forcetrust :: [(String, TrustLevel)]
, cipher :: Maybe CryptoTypes.Cipher
}
@@ -63,6 +65,7 @@ newState gitrepo allbackends = AnnexState
, toremote = Nothing
, fromremote = Nothing
, exclude = []
+ , forcetrust = []
, cipher = Nothing
}