libgit2

git_refdb_backend

Version:

An instance for a custom backend

Signature

typedef struct git_refdb_backend { unsigned int version int (*)(int *, git_refdb_backend *, const char *) exists int (*)(git_reference **, git_refdb_backend *, const char *) lookup int (*)(git_reference_iterator **, struct git_refdb_backend *, const char *) iterator int (*)(git_refdb_backend *, const git_reference *, int, const git_signature *, const char *, const git_oid *, const char *) write int (*)(git_reference **, git_refdb_backend *, const char *, const char *, int, const git_signature *, const char *) rename int (*)(git_refdb_backend *, const char *, const git_oid *, const char *) del int (*)(git_refdb_backend *) compress int (*)(git_refdb_backend *, const char *) has_log int (*)(git_refdb_backend *, const char *) ensure_log void (*)(git_refdb_backend *) free int (*)(git_reflog **, git_refdb_backend *, const char *) reflog_read int (*)(git_refdb_backend *, git_reflog *) reflog_write int (*)(git_refdb_backend *, const char *, const char *) reflog_rename int (*)(git_refdb_backend *, const char *) reflog_delete int (*)(void **, git_refdb_backend *, const char *) lock int (*)(git_refdb_backend *, void *, int, int, const git_reference *, const git_signature *, const char *) unlock };

Members

unsigned int
version

The backend API version

int (*)(int *, git_refdb_backend *, const char *)
exists
int (*)(git_reference **, git_refdb_backend *, const char *)
lookup
int (*)(git_reference_iterator **, struct git_refdb_backend *, const char *)
iterator
int (*)(git_refdb_backend *, const git_reference *, int, const git_signature *, const char *, const git_oid *, const char *)
write
int (*)(git_reference **, git_refdb_backend *, const char *, const char *, int, const git_signature *, const char *)
rename
int (*)(git_refdb_backend *, const char *, const git_oid *, const char *)
del
int (*)(git_refdb_backend *)
compress
int (*)(git_refdb_backend *, const char *)
has_log
int (*)(git_refdb_backend *, const char *)
ensure_log
void (*)(git_refdb_backend *)
free
int (*)(git_reflog **, git_refdb_backend *, const char *)
reflog_read
int (*)(git_refdb_backend *, git_reflog *)
reflog_write
int (*)(git_refdb_backend *, const char *, const char *)
reflog_rename
int (*)(git_refdb_backend *, const char *)
reflog_delete
int (*)(void **, git_refdb_backend *, const char *)
lock
int (*)(git_refdb_backend *, void *, int, int, const git_reference *, const git_signature *, const char *)
unlock

Parameter To

Versions