summaryrefslogtreecommitdiff
path: root/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types.hs')
-rw-r--r--Types.hs11
1 files changed, 8 insertions, 3 deletions
diff --git a/Types.hs b/Types.hs
index 6e3727e25..5c5a428d5 100644
--- a/Types.hs
+++ b/Types.hs
@@ -23,12 +23,17 @@ data Backend = Backend {
-- a git repository
data GitRepo = GitRepo {
top :: FilePath,
- bare :: Bool,
- remotes :: [GitRepo]
+ bare :: Bool
}
-- git-annex's runtime state
data State = State {
repo :: GitRepo,
- backends :: [Backend]
+ gitconfig :: GitConfig
+}
+
+data GitConfig = GitConfig {
+ annex_name :: String,
+ annex_numcopies :: Int,
+ annex_backends :: [Backend]
}