libgit2

git_odb_backend

Version:

An instance for a custom backend

Signature

typedef struct git_odb_backend { unsigned int version git_odb *odb int (*)(void **, size_t *, git_object_t *, git_odb_backend *, const git_oid *) read int (*)(git_oid *, void **, size_t *, git_object_t *, git_odb_backend *, const git_oid *, size_t) read_prefix int (*)(size_t *, git_object_t *, git_odb_backend *, const git_oid *) read_header int (*)(git_odb_backend *, const git_oid *, const void *, size_t, git_object_t) write int (*)(git_odb_stream **, git_odb_backend *, git_object_size_t, git_object_t) writestream int (*)(git_odb_stream **, size_t *, git_object_t *, git_odb_backend *, const git_oid *) readstream int (*)(git_odb_backend *, const git_oid *) exists int (*)(git_oid *, git_odb_backend *, const git_oid *, size_t) exists_prefix int (*)(git_odb_backend *) refresh int (*)(git_odb_backend *, git_odb_foreach_cb, void *) foreach int (*)(git_odb_writepack **, git_odb_backend *, git_odb *, git_indexer_progress_cb, void *) writepack int (*)(git_odb_backend *) writemidx int (*)(git_odb_backend *, const git_oid *) freshen void (*)(git_odb_backend *) free };

Members

unsigned int
version
odb
int (*)(void **, size_t *, git_object_t *, git_odb_backend *, const git_oid *)
read
int (*)(git_oid *, void **, size_t *, git_object_t *, git_odb_backend *, const git_oid *, size_t)
read_prefix
int (*)(size_t *, git_object_t *, git_odb_backend *, const git_oid *)
read_header
int (*)(git_odb_backend *, const git_oid *, const void *, size_t, git_object_t)
write
int (*)(git_odb_stream **, git_odb_backend *, git_object_size_t, git_object_t)
writestream
int (*)(git_odb_stream **, size_t *, git_object_t *, git_odb_backend *, const git_oid *)
readstream
int (*)(git_odb_backend *, const git_oid *)
exists
int (*)(git_oid *, git_odb_backend *, const git_oid *, size_t)
exists_prefix
int (*)(git_odb_backend *)
refresh
int (*)(git_odb_backend *, git_odb_foreach_cb, void *)
foreach
int (*)(git_odb_writepack **, git_odb_backend *, git_odb *, git_indexer_progress_cb, void *)
writepack
int (*)(git_odb_backend *)
writemidx
int (*)(git_odb_backend *, const git_oid *)
freshen
void (*)(git_odb_backend *)
free

Parameter To

Versions