Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type ByteStringParser = Parsec ParseException ByteString
- data ParseException
- runByteStringParser :: (MonadThrow m, Show e, ShowErrorComponent e, Typeable e, VisualStream s, TraversableStream s, Typeable s, Show s, Show (Token s)) => Parsec e s a -> Path b t -> s -> m a
- data ObjectType
- objectParser :: ByteStringParser (ObjectType, ByteString)
- treeParser :: Int -> ByteStringParser [(CMode, Path Rel File, String)]
- data IndexEntry = IndexEntry {}
- indexParser :: ByteStringParser [IndexEntry]
- putIndex :: Foldable t => t IndexEntry -> Put
Documentation
data ParseException Source #
Instances
Eq ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString (==) :: ParseException -> ParseException -> Bool # (/=) :: ParseException -> ParseException -> Bool # | |
Ord ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString compare :: ParseException -> ParseException -> Ordering # (<) :: ParseException -> ParseException -> Bool # (<=) :: ParseException -> ParseException -> Bool # (>) :: ParseException -> ParseException -> Bool # (>=) :: ParseException -> ParseException -> Bool # max :: ParseException -> ParseException -> ParseException # min :: ParseException -> ParseException -> ParseException # | |
Show ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString showsPrec :: Int -> ParseException -> ShowS # show :: ParseException -> String # showList :: [ParseException] -> ShowS # | |
Exception ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString | |
ShowErrorComponent ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString |
runByteStringParser :: (MonadThrow m, Show e, ShowErrorComponent e, Typeable e, VisualStream s, TraversableStream s, Typeable s, Show s, Show (Token s)) => Parsec e s a -> Path b t -> s -> m a Source #
data ObjectType Source #
The Git object type. Currently, it does not support tags.
Instances
Enum ObjectType Source # | |
Defined in HMGit.Internal.Parser.Object succ :: ObjectType -> ObjectType # pred :: ObjectType -> ObjectType # toEnum :: Int -> ObjectType # fromEnum :: ObjectType -> Int # enumFrom :: ObjectType -> [ObjectType] # enumFromThen :: ObjectType -> ObjectType -> [ObjectType] # enumFromTo :: ObjectType -> ObjectType -> [ObjectType] # enumFromThenTo :: ObjectType -> ObjectType -> ObjectType -> [ObjectType] # | |
Eq ObjectType Source # | |
Defined in HMGit.Internal.Parser.Object (==) :: ObjectType -> ObjectType -> Bool # (/=) :: ObjectType -> ObjectType -> Bool # | |
Read ObjectType Source # | |
Defined in HMGit.Internal.Parser.Object readsPrec :: Int -> ReadS ObjectType # readList :: ReadS [ObjectType] # readPrec :: ReadPrec ObjectType # readListPrec :: ReadPrec [ObjectType] # | |
Show ObjectType Source # | |
Defined in HMGit.Internal.Parser.Object showsPrec :: Int -> ObjectType -> ShowS # show :: ObjectType -> String # showList :: [ObjectType] -> ShowS # |
objectParser :: ByteStringParser (ObjectType, ByteString) Source #
Object binary parser
treeParser :: Int -> ByteStringParser [(CMode, Path Rel File, String)] Source #
Tree binary parser
data IndexEntry Source #
IndexEntry | |
|
Instances
Show IndexEntry Source # | |
Defined in HMGit.Internal.Parser.Index showsPrec :: Int -> IndexEntry -> ShowS # show :: IndexEntry -> String # showList :: [IndexEntry] -> ShowS # |