git-annex/Types/Distribution.hs
2013-11-22 00:26:24 -04:00

22 lines
527 B
Haskell

{- 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 Types.Key
import Data.Time.Clock
data GitAnnexDistribution = GitAnnexDistribution
{ distributionUrl :: String
, distributionKey :: Key
, distributionVersion :: GitAnnexVersion
, distributionReleasedate :: UTCTime
, distributionUrgentUpgrade :: Maybe GitAnnexVersion
}
deriving (Read, Show, Eq)
type GitAnnexVersion = String