gitlib-libgit2-1.0.1: Libgit2 backend for gitlib

Safe HaskellNone

Git.Libgit2.Internal

Documentation

data Base m a b Source

Constructors

Base 

Fields

gitId :: Maybe (Tagged a (Oid (LgRepository m)))
 
gitObj :: ObjPtr b
 

coidPtrToOid :: Ptr C'git_oid -> IO (ForeignPtr C'git_oid)Source

lookupObject' :: MonadGit m => ForeignPtr C'git_oid -> Int -> (Ptr (Ptr a) -> Ptr C'git_repository -> Ptr C'git_oid -> IO CInt) -> (Ptr (Ptr a) -> Ptr C'git_repository -> Ptr C'git_oid -> CSize -> IO CInt) -> (ForeignPtr C'git_oid -> ForeignPtr a -> Ptr a -> IO b) -> LgRepository m bSource

packGitTime :: ZonedTime -> C'git_timeSource

packSignature :: Converter -> Ptr C'git_signature -> IO SignatureSource

withSignature :: Converter -> Signature -> (Ptr C'git_signature -> IO a) -> IO aSource

oidToStr :: Ptr C'git_oid -> IO StringSource