summaryrefslogtreecommitdiff
path: root/Types/Branch.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types/Branch.hs')
-rw-r--r--Types/Branch.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Types/Branch.hs b/Types/Branch.hs
new file mode 100644
index 000000000..c0ccb5ca0
--- /dev/null
+++ b/Types/Branch.hs
@@ -0,0 +1,16 @@
+{- git-annex branch data types
+ -
+ - Copyright 2011 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Types.Branch where
+
+data BranchCache = BranchCache {
+ cachedFile :: Maybe FilePath,
+ cachedContent :: String
+}
+
+emptyBranchCache :: BranchCache
+emptyBranchCache = BranchCache Nothing ""