diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-28 15:15:42 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-28 15:17:36 -0400 |
commit | ad245a6375b32a17a9aa18088ee006cad6b4c1ff (patch) | |
tree | 857f50ce714cbf667bcbb77796e806a3c7bd1985 /Annex.hs | |
parent | 4f4eaf387ab801157cb8986a9ca3542a977e9e03 (diff) |
refactor catfile code
split into generic IO code, and a thin Annex wrapper
Diffstat (limited to 'Annex.hs')
-rw-r--r-- | Annex.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,7 @@ import Control.Monad.IO.Control import Control.Applicative hiding (empty) import qualified Git +import Git.CatFile import Git.Queue import Types.Backend import qualified Types.Remote @@ -55,6 +56,7 @@ data AnnexState = AnnexState , fast :: Bool , auto :: Bool , branchstate :: BranchState + , catfilehandle :: Maybe CatFileHandle , forcebackend :: Maybe String , forcenumcopies :: Maybe Int , defaultkey :: Maybe String @@ -79,6 +81,7 @@ newState gitrepo = AnnexState , fast = False , auto = False , branchstate = startBranchState + , catfilehandle = Nothing , forcebackend = Nothing , forcenumcopies = Nothing , defaultkey = Nothing |