packages feed

gitlib-utils 1.1.0 → 1.1.1

raw patch · 2 files changed

+10/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Git.Utils: OidText :: Text -> OidText
+ Git.Utils: data OidText
+ Git.Utils: getOidT :: OidText -> Text
+ Git.Utils: instance Eq OidText
+ Git.Utils: instance IsOid OidText
+ Git.Utils: instance Ord OidText
+ Git.Utils: instance Show OidText
+ Git.Utils: parseOidText :: Monad m => Text -> m OidText

Files

Git/Utils.hs view
@@ -43,6 +43,15 @@ parseOidBytestring :: Monad m => Text -> m OidBytestring parseOidBytestring x = OidBytestring `liftM` unhex (T.encodeUtf8 x) +data OidText = OidText { getOidT :: T.Text }+             deriving (Eq, Ord, Show)++instance IsOid OidText where+    renderOid (OidText x) = x++parseOidText :: Monad m => Text -> m OidText+parseOidText = return . OidText+ data OidTextL = OidTextL { getOidTL :: TL.Text }               deriving (Eq, Ord, Show) 
gitlib-utils.cabal view
@@ -1,5 +1,5 @@ Name:                gitlib-utils-Version:             1.1.0+Version:             1.1.1 Synopsis:            Generic utility functions for working with Git repositories License-file:        LICENSE License:             MIT