Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Bindings.Libgit2.OdbBackend
Documentation
mk'git_odb_foreach_cb :: (Ptr C'git_oid -> Ptr () -> IO CInt) -> IO C'git_odb_foreach_cb Source #
mK'git_odb_foreach_cb :: C'git_odb_foreach_cb -> Ptr C'git_oid -> Ptr () -> IO CInt Source #
type C'git_odb_backend_read_callback = FunPtr (Ptr (Ptr ()) -> Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt) Source #
type C'git_odb_backend_read_prefix_callback = FunPtr (Ptr C'git_oid -> Ptr (Ptr ()) -> Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> CSize -> IO CInt) Source #
mk'git_odb_backend_read_callback :: (Ptr (Ptr ()) -> Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt) -> IO C'git_odb_backend_read_callback Source #
type C'git_odb_backend_read_header_callback = FunPtr (Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt) Source #
mk'git_odb_backend_read_prefix_callback :: (Ptr C'git_oid -> Ptr (Ptr ()) -> Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> CSize -> IO CInt) -> IO C'git_odb_backend_read_prefix_callback Source #
type C'git_odb_backend_write_callback = FunPtr (Ptr C'git_oid -> Ptr C'git_odb_backend -> Ptr () -> CSize -> C'git_otype -> IO CInt) Source #
mk'git_odb_backend_read_header_callback :: (Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt) -> IO C'git_odb_backend_read_header_callback Source #
mK'git_odb_backend_read_callback :: C'git_odb_backend_read_callback -> Ptr (Ptr ()) -> Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt Source #
type C'git_odb_backend_writestream_callback = FunPtr (Ptr (Ptr C'git_odb_stream) -> Ptr C'git_odb_backend -> CSize -> C'git_otype -> IO CInt) Source #
mk'git_odb_backend_write_callback :: (Ptr C'git_oid -> Ptr C'git_odb_backend -> Ptr () -> CSize -> C'git_otype -> IO CInt) -> IO C'git_odb_backend_write_callback Source #
mK'git_odb_backend_read_prefix_callback :: C'git_odb_backend_read_prefix_callback -> Ptr C'git_oid -> Ptr (Ptr ()) -> Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> CSize -> IO CInt Source #
type C'git_odb_backend_readstream_callback = FunPtr (Ptr (Ptr C'git_odb_stream) -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt) Source #
mK'git_odb_backend_read_header_callback :: C'git_odb_backend_read_header_callback -> Ptr CSize -> Ptr C'git_otype -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt Source #
mk'git_odb_backend_writestream_callback :: (Ptr (Ptr C'git_odb_stream) -> Ptr C'git_odb_backend -> CSize -> C'git_otype -> IO CInt) -> IO C'git_odb_backend_writestream_callback Source #
type C'git_odb_backend_exists_callback = FunPtr (Ptr C'git_odb_backend -> Ptr C'git_oid -> CInt -> IO CInt) Source #
mK'git_odb_backend_write_callback :: C'git_odb_backend_write_callback -> Ptr C'git_oid -> Ptr C'git_odb_backend -> Ptr () -> CSize -> C'git_otype -> IO CInt Source #
mk'git_odb_backend_readstream_callback :: (Ptr (Ptr C'git_odb_stream) -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt) -> IO C'git_odb_backend_readstream_callback Source #
type C'git_odb_backend_refresh_callback = FunPtr (Ptr C'git_odb_backend -> IO CInt) Source #
mk'git_odb_backend_exists_callback :: (Ptr C'git_odb_backend -> Ptr C'git_oid -> CInt -> IO CInt) -> IO C'git_odb_backend_exists_callback Source #
mK'git_odb_backend_writestream_callback :: C'git_odb_backend_writestream_callback -> Ptr (Ptr C'git_odb_stream) -> Ptr C'git_odb_backend -> CSize -> C'git_otype -> IO CInt Source #
type C'git_odb_backend_foreach_callback = FunPtr (Ptr C'git_odb_backend -> C'git_odb_foreach_cb -> Ptr () -> IO CInt) Source #
mk'git_odb_backend_refresh_callback :: (Ptr C'git_odb_backend -> IO CInt) -> IO C'git_odb_backend_refresh_callback Source #
mK'git_odb_backend_readstream_callback :: C'git_odb_backend_readstream_callback -> Ptr (Ptr C'git_odb_stream) -> Ptr C'git_odb_backend -> Ptr C'git_oid -> IO CInt Source #
type C'git_odb_backend_writepack_callback = FunPtr (Ptr (Ptr C'git_odb_writepack) -> Ptr C'git_odb_backend -> C'git_transfer_progress_callback -> Ptr () -> IO CInt) Source #
mK'git_odb_backend_exists_callback :: C'git_odb_backend_exists_callback -> Ptr C'git_odb_backend -> Ptr C'git_oid -> CInt -> IO CInt Source #
mk'git_odb_backend_foreach_callback :: (Ptr C'git_odb_backend -> C'git_odb_foreach_cb -> Ptr () -> IO CInt) -> IO C'git_odb_backend_foreach_callback Source #
type C'git_odb_backend_free_callback = FunPtr (Ptr C'git_odb_backend -> IO ()) Source #
mK'git_odb_backend_refresh_callback :: C'git_odb_backend_refresh_callback -> Ptr C'git_odb_backend -> IO CInt Source #
mk'git_odb_backend_writepack_callback :: (Ptr (Ptr C'git_odb_writepack) -> Ptr C'git_odb_backend -> C'git_transfer_progress_callback -> Ptr () -> IO CInt) -> IO C'git_odb_backend_writepack_callback Source #
mk'git_odb_backend_free_callback :: (Ptr C'git_odb_backend -> IO ()) -> IO C'git_odb_backend_free_callback Source #
mK'git_odb_backend_foreach_callback :: C'git_odb_backend_foreach_callback -> Ptr C'git_odb_backend -> C'git_odb_foreach_cb -> Ptr () -> IO CInt Source #
mK'git_odb_backend_writepack_callback :: C'git_odb_backend_writepack_callback -> Ptr (Ptr C'git_odb_writepack) -> Ptr C'git_odb_backend -> C'git_transfer_progress_callback -> Ptr () -> IO CInt Source #
mK'git_odb_backend_free_callback :: C'git_odb_backend_free_callback -> Ptr C'git_odb_backend -> IO () Source #
data C'git_odb_backend Source #
Constructors
Instances
Storable C'git_odb_backend Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods sizeOf :: C'git_odb_backend -> Int # alignment :: C'git_odb_backend -> Int # peekElemOff :: Ptr C'git_odb_backend -> Int -> IO C'git_odb_backend # pokeElemOff :: Ptr C'git_odb_backend -> Int -> C'git_odb_backend -> IO () # peekByteOff :: Ptr b -> Int -> IO C'git_odb_backend # pokeByteOff :: Ptr b -> Int -> C'git_odb_backend -> IO () # peek :: Ptr C'git_odb_backend -> IO C'git_odb_backend # poke :: Ptr C'git_odb_backend -> C'git_odb_backend -> IO () # | |
Show C'git_odb_backend Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods showsPrec :: Int -> C'git_odb_backend -> ShowS # show :: C'git_odb_backend -> String # showList :: [C'git_odb_backend] -> ShowS # | |
Eq C'git_odb_backend Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods (==) :: C'git_odb_backend -> C'git_odb_backend -> Bool # (/=) :: C'git_odb_backend -> C'git_odb_backend -> Bool # |
c'GIT_STREAM_RDONLY :: Num a => a Source #
c'GIT_STREAM_WRONLY :: Num a => a Source #
c'GIT_STREAM_RW :: Num a => a Source #
p'git_odb_backend'read_prefix :: Ptr C'git_odb_backend -> Ptr C'git_odb_backend_read_prefix_callback Source #
type C'git_odb_stream_read_callback = FunPtr (Ptr C'git_odb_stream -> CString -> CSize -> IO CInt) Source #
p'git_odb_backend'read_header :: Ptr C'git_odb_backend -> Ptr C'git_odb_backend_read_header_callback Source #
type C'git_odb_stream_write_callback = FunPtr (Ptr C'git_odb_stream -> CString -> CSize -> IO CInt) Source #
mk'git_odb_stream_read_callback :: (Ptr C'git_odb_stream -> CString -> CSize -> IO CInt) -> IO C'git_odb_stream_read_callback Source #
type C'git_odb_stream_finalize_write_callback = FunPtr (Ptr C'git_oid -> Ptr C'git_odb_stream -> IO CInt) Source #
mk'git_odb_stream_write_callback :: (Ptr C'git_odb_stream -> CString -> CSize -> IO CInt) -> IO C'git_odb_stream_write_callback Source #
type C'git_odb_stream_free_callback = FunPtr (Ptr C'git_odb_stream -> IO ()) Source #
mK'git_odb_stream_read_callback :: C'git_odb_stream_read_callback -> Ptr C'git_odb_stream -> CString -> CSize -> IO CInt Source #
mk'git_odb_stream_finalize_write_callback :: (Ptr C'git_oid -> Ptr C'git_odb_stream -> IO CInt) -> IO C'git_odb_stream_finalize_write_callback Source #
mk'git_odb_stream_free_callback :: (Ptr C'git_odb_stream -> IO ()) -> IO C'git_odb_stream_free_callback Source #
mK'git_odb_stream_write_callback :: C'git_odb_stream_write_callback -> Ptr C'git_odb_stream -> CString -> CSize -> IO CInt Source #
p'git_odb_backend'writestream :: Ptr C'git_odb_backend -> Ptr C'git_odb_backend_writestream_callback Source #
mK'git_odb_stream_finalize_write_callback :: C'git_odb_stream_finalize_write_callback -> Ptr C'git_oid -> Ptr C'git_odb_stream -> IO CInt Source #
mK'git_odb_stream_free_callback :: C'git_odb_stream_free_callback -> Ptr C'git_odb_stream -> IO () Source #
p'git_odb_backend'readstream :: Ptr C'git_odb_backend -> Ptr C'git_odb_backend_readstream_callback Source #
p'git_odb_backend'refresh :: Ptr C'git_odb_backend -> Ptr C'git_odb_backend_refresh_callback Source #
data C'git_odb_stream Source #
Constructors
Instances
Storable C'git_odb_stream Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods sizeOf :: C'git_odb_stream -> Int # alignment :: C'git_odb_stream -> Int # peekElemOff :: Ptr C'git_odb_stream -> Int -> IO C'git_odb_stream # pokeElemOff :: Ptr C'git_odb_stream -> Int -> C'git_odb_stream -> IO () # peekByteOff :: Ptr b -> Int -> IO C'git_odb_stream # pokeByteOff :: Ptr b -> Int -> C'git_odb_stream -> IO () # peek :: Ptr C'git_odb_stream -> IO C'git_odb_stream # poke :: Ptr C'git_odb_stream -> C'git_odb_stream -> IO () # | |
Show C'git_odb_stream Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods showsPrec :: Int -> C'git_odb_stream -> ShowS # show :: C'git_odb_stream -> String # showList :: [C'git_odb_stream] -> ShowS # | |
Eq C'git_odb_stream Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods (==) :: C'git_odb_stream -> C'git_odb_stream -> Bool # (/=) :: C'git_odb_stream -> C'git_odb_stream -> Bool # |
p'git_odb_backend'foreach :: Ptr C'git_odb_backend -> Ptr C'git_odb_backend_foreach_callback Source #
p'git_odb_backend'writepack :: Ptr C'git_odb_backend -> Ptr C'git_odb_backend_writepack_callback Source #
type C'git_odb_writepack_add_callback = FunPtr (Ptr C'git_odb_writepack -> Ptr () -> CSize -> Ptr C'git_transfer_progress -> IO CInt) Source #
type C'git_odb_writepack_commit_callback = FunPtr (Ptr C'git_odb_writepack -> Ptr C'git_transfer_progress -> IO CInt) Source #
mk'git_odb_writepack_add_callback :: (Ptr C'git_odb_writepack -> Ptr () -> CSize -> Ptr C'git_transfer_progress -> IO CInt) -> IO C'git_odb_writepack_add_callback Source #
type C'git_odb_writepack_free_callback = FunPtr (Ptr C'git_odb_writepack -> IO ()) Source #
mk'git_odb_writepack_commit_callback :: (Ptr C'git_odb_writepack -> Ptr C'git_transfer_progress -> IO CInt) -> IO C'git_odb_writepack_commit_callback Source #
mk'git_odb_writepack_free_callback :: (Ptr C'git_odb_writepack -> IO ()) -> IO C'git_odb_writepack_free_callback Source #
mK'git_odb_writepack_add_callback :: C'git_odb_writepack_add_callback -> Ptr C'git_odb_writepack -> Ptr () -> CSize -> Ptr C'git_transfer_progress -> IO CInt Source #
mK'git_odb_writepack_commit_callback :: C'git_odb_writepack_commit_callback -> Ptr C'git_odb_writepack -> Ptr C'git_transfer_progress -> IO CInt Source #
p'git_odb_stream'finalize_write :: Ptr C'git_odb_stream -> Ptr C'git_odb_stream_finalize_write_callback Source #
mK'git_odb_writepack_free_callback :: C'git_odb_writepack_free_callback -> Ptr C'git_odb_writepack -> IO () Source #
data C'git_odb_writepack Source #
Constructors
C'git_odb_writepack | |
Instances
Storable C'git_odb_writepack Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods sizeOf :: C'git_odb_writepack -> Int # alignment :: C'git_odb_writepack -> Int # peekElemOff :: Ptr C'git_odb_writepack -> Int -> IO C'git_odb_writepack # pokeElemOff :: Ptr C'git_odb_writepack -> Int -> C'git_odb_writepack -> IO () # peekByteOff :: Ptr b -> Int -> IO C'git_odb_writepack # pokeByteOff :: Ptr b -> Int -> C'git_odb_writepack -> IO () # peek :: Ptr C'git_odb_writepack -> IO C'git_odb_writepack # poke :: Ptr C'git_odb_writepack -> C'git_odb_writepack -> IO () # | |
Show C'git_odb_writepack Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods showsPrec :: Int -> C'git_odb_writepack -> ShowS # show :: C'git_odb_writepack -> String # showList :: [C'git_odb_writepack] -> ShowS # | |
Eq C'git_odb_writepack Source # | |
Defined in Bindings.Libgit2.OdbBackend Methods (==) :: C'git_odb_writepack -> C'git_odb_writepack -> Bool # (/=) :: C'git_odb_writepack -> C'git_odb_writepack -> Bool # |
c'git_odb_backend_malloc :: Ptr C'git_odb_backend -> CSize -> IO (Ptr ()) Source #
c'git_odb_backend_pack :: Ptr (Ptr C'git_odb_backend) -> CString -> IO CInt Source #
p'git_odb_backend_malloc :: FunPtr (Ptr C'git_odb_backend -> CSize -> IO (Ptr ())) Source #
c'git_odb_backend_loose :: Ptr (Ptr C'git_odb_backend) -> CString -> CInt -> CInt -> IO CInt Source #
c'git_odb_backend_one_pack :: Ptr (Ptr C'git_odb_backend) -> CString -> IO CInt Source #
p'git_odb_backend_pack :: FunPtr (Ptr (Ptr C'git_odb_backend) -> CString -> IO CInt) Source #
p'git_odb_backend_loose :: FunPtr (Ptr (Ptr C'git_odb_backend) -> CString -> CInt -> CInt -> IO CInt) Source #
p'git_odb_backend_one_pack :: FunPtr (Ptr (Ptr C'git_odb_backend) -> CString -> IO CInt) Source #