summaryrefslogtreecommitdiff
path: root/Types/Distribution.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types/Distribution.hs')
-rw-r--r--Types/Distribution.hs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Types/Distribution.hs b/Types/Distribution.hs
new file mode 100644
index 000000000..92558d6fa
--- /dev/null
+++ b/Types/Distribution.hs
@@ -0,0 +1,21 @@
+{- Data type for a distribution of git-annex
+ -
+ - Copyright 2013 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Types.Distribution where
+
+import Data.Time.Clock
+
+data GitAnnexDistribution = GitAnnexDistribution
+ { distributionUrl :: String
+ , distributionSha256 :: String
+ , distributionVersion :: GitAnnexVersion
+ , distributionReleasedate :: UTCTime
+ , distributionUrgentUpgrade :: Maybe GitAnnexVersion
+ }
+ deriving (Read, Show, Eq)
+
+type GitAnnexVersion = String