diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-11 00:19:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-11 00:19:38 -0400 |
commit | 2bd3eea0318fe52452fa7077fe94ae3f224ae9c5 (patch) | |
tree | 8597b882848fba48ac67d1ca84361e0dc5c3b516 /Types.hs | |
parent | c5d7ca0a5a2c6837d394e23d1a18a1005ee6f1b6 (diff) |
add git config lookups for annex.name, annex.backends, etc
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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] } |