miss-0: A Haskell git implimentation

Safe HaskellNone
LanguageHaskell2010

Data.Git.Internal.Types

Description

 
Synopsis

Documentation

type Crc32 = Word32 Source #

Checksums.

data PackIndex Source #

The index for a PackFile.

Constructors

PackIndex 

Fields

data PackFile Source #

Representation of a parsed pack file.

Constructors

PackFile 

data GitConf Source #

Configuration state for GitT.

Constructors

GitConf 

Fields

Instances
Eq GitConf Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

(==) :: GitConf -> GitConf -> Bool #

(/=) :: GitConf -> GitConf -> Bool #

Ord GitConf Source # 
Instance details

Defined in Data.Git.Internal.Types

Show GitConf Source # 
Instance details

Defined in Data.Git.Internal.Types

Monad m => MonadState GitConf (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

get :: GitT m GitConf #

put :: GitConf -> GitT m () #

state :: (GitConf -> (a, GitConf)) -> GitT m a #

newtype GitT m a Source #

A Git monad transformer that writes loose objects.

Constructors

GitT 

Fields

Instances
MonadTrans GitT Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

lift :: Monad m => m a -> GitT m a #

Monad m => MonadState GitConf (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

get :: GitT m GitConf #

put :: GitConf -> GitT m () #

state :: (GitConf -> (a, GitConf)) -> GitT m a #

Monad m => Monad (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

(>>=) :: GitT m a -> (a -> GitT m b) -> GitT m b #

(>>) :: GitT m a -> GitT m b -> GitT m b #

return :: a -> GitT m a #

fail :: String -> GitT m a #

Functor m => Functor (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

fmap :: (a -> b) -> GitT m a -> GitT m b #

(<$) :: a -> GitT m b -> GitT m a #

MonadFail m => MonadFail (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

fail :: String -> GitT m a #

Monad m => Applicative (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

pure :: a -> GitT m a #

(<*>) :: GitT m (a -> b) -> GitT m a -> GitT m b #

liftA2 :: (a -> b -> c) -> GitT m a -> GitT m b -> GitT m c #

(*>) :: GitT m a -> GitT m b -> GitT m b #

(<*) :: GitT m a -> GitT m b -> GitT m a #

MonadIO m => MonadIO (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

liftIO :: IO a -> GitT m a #

MonadCatch m => MonadCatch (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

catch :: Exception e => GitT m a -> (e -> GitT m a) -> GitT m a

MonadThrow m => MonadThrow (GitT m) Source # 
Instance details

Defined in Data.Git.Internal.Types

Methods

throwM :: Exception e => e -> GitT m a

MonadIO m => MonadGit (GitT m) Source #

A concrete MonadGit instance writing loose objects.

Instance details

Defined in Data.Git.Monad