summaryrefslogtreecommitdiff
path: root/Types/BranchState.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-09-28 15:15:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-09-28 15:17:36 -0400
commitad245a6375b32a17a9aa18088ee006cad6b4c1ff (patch)
tree857f50ce714cbf667bcbb77796e806a3c7bd1985 /Types/BranchState.hs
parent4f4eaf387ab801157cb8986a9ca3542a977e9e03 (diff)
refactor catfile code
split into generic IO code, and a thin Annex wrapper
Diffstat (limited to 'Types/BranchState.hs')
-rw-r--r--Types/BranchState.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Types/BranchState.hs b/Types/BranchState.hs
index bc1d32e69..777edb32c 100644
--- a/Types/BranchState.hs
+++ b/Types/BranchState.hs
@@ -7,18 +7,13 @@
module Types.BranchState where
-import System.IO
-
data BranchState = BranchState {
branchUpdated :: Bool, -- has the branch been updated this run?
- -- (from, to) handles used to talk to a git-cat-file process
- catFileHandles :: Maybe (Handle, Handle),
-
-- the content of one file is cached
cachedFile :: Maybe FilePath,
cachedContent :: String
}
startBranchState :: BranchState
-startBranchState = BranchState False Nothing Nothing ""
+startBranchState = BranchState False Nothing ""