Safe Haskell | None |
---|---|
Language | Haskell2010 |
Utility module that should probably disappear.
Synopsis
- type Date = (Int, ByteString)
- utcTimeToDate :: UTCTime -> Date
- newtype Mode = BareMode Word32
- pattern BlobMode :: Mode
- pattern ExecMode :: Mode
- pattern TreeMode :: Mode
- pattern LinkMode :: Mode
- pattern SubmMode :: Mode
- data Contact = Contact {}
- makeContact :: ByteString -> ByteString -> Contact
- makeContact' :: ByteString -> ByteString -> Maybe Contact
- data GitT m a
- type Git a = GitT IO a
Documentation
type Date = (Int, ByteString) Source #
Git dates are seconds-since-the-epoch and a timezone string.
Author and Committer data in commit messages.
makeContact :: ByteString -> ByteString -> Contact Source #
Make a Contact
or explode trying.
makeContact' :: ByteString -> ByteString -> Maybe Contact Source #
Try to make a Contact
. Gives Nothing
when safeString
fails on either argument.
A Git monad transformer that writes loose objects.
Instances
MonadTrans GitT Source # | |
Defined in Data.Git.Internal.Types | |
Monad m => MonadState GitConf (GitT m) Source # | |
Monad m => Monad (GitT m) Source # | |
Functor m => Functor (GitT m) Source # | |
MonadFail m => MonadFail (GitT m) Source # | |
Defined in Data.Git.Internal.Types | |
Monad m => Applicative (GitT m) Source # | |
MonadIO m => MonadIO (GitT m) Source # | |
Defined in Data.Git.Internal.Types | |
MonadCatch m => MonadCatch (GitT m) Source # | |
MonadThrow m => MonadThrow (GitT m) Source # | |
Defined in Data.Git.Internal.Types | |
MonadIO m => MonadGit (GitT m) Source # | A concrete |
Defined in Data.Git.Monad lookupSha :: Sha1 -> GitT m (Maybe Object) Source # writeObject :: Object -> GitT m Sha1 Source # flushObjects :: GitT m () Source # lookupRef :: Ref -> GitT m (Maybe Sha1) Source # listRefs :: GitT m (Map Ref (Maybe Sha1)) Source # writeRef :: Ref -> Sha1 -> GitT m () Source # writeSymRef :: Ref -> Ref -> GitT m () Source # registerPack :: PackFile -> GitT m () Source # |