summaryrefslogtreecommitdiff
path: root/Types/BranchState.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types/BranchState.hs')
-rw-r--r--Types/BranchState.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Types/BranchState.hs b/Types/BranchState.hs
new file mode 100644
index 000000000..2f7948ebb
--- /dev/null
+++ b/Types/BranchState.hs
@@ -0,0 +1,16 @@
+{- git-annex BranchState data type
+ -
+ - Copyright 2011 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Types.BranchState where
+
+data BranchState = BranchState
+ { branchUpdated :: Bool -- has the branch been updated this run?
+ , indexChecked :: Bool -- has the index file been checked to exist?
+ }
+
+startBranchState :: BranchState
+startBranchState = BranchState False False