libgit2_d.reflog

Undocumented in source.

Members

Functions

git_reflog_append
int git_reflog_append(libgit2_d.types.git_reflog* reflog, const(libgit2_d.oid.git_oid)* id, const(libgit2_d.types.git_signature)* committer, const(char)* msg)

Add a new entry to the in-memory reflog.

git_reflog_delete
int git_reflog_delete(libgit2_d.types.git_repository* repo, const(char)* name)

Delete the reflog for the given reference

git_reflog_drop
int git_reflog_drop(libgit2_d.types.git_reflog* reflog, size_t idx, int rewrite_previous_entry)

Remove an entry from the reflog by its index

git_reflog_entry_byindex
const(libgit2_d.types.git_reflog_entry)* git_reflog_entry_byindex(const(libgit2_d.types.git_reflog)* reflog, size_t idx)

Lookup an entry by its index

git_reflog_entry_committer
const(libgit2_d.types.git_signature)* git_reflog_entry_committer(const(libgit2_d.types.git_reflog_entry)* entry)

Get the committer of this entry

git_reflog_entry_id_new
const(libgit2_d.oid.git_oid)* git_reflog_entry_id_new(const(libgit2_d.types.git_reflog_entry)* entry)

Get the new oid

git_reflog_entry_id_old
const(libgit2_d.oid.git_oid)* git_reflog_entry_id_old(const(libgit2_d.types.git_reflog_entry)* entry)

Get the old oid

git_reflog_entry_message
const(char)* git_reflog_entry_message(const(libgit2_d.types.git_reflog_entry)* entry)

Get the log message

git_reflog_entrycount
size_t git_reflog_entrycount(libgit2_d.types.git_reflog* reflog)

Get the number of log entries in a reflog

git_reflog_free
void git_reflog_free(libgit2_d.types.git_reflog* reflog)

Free the reflog

git_reflog_read
int git_reflog_read(libgit2_d.types.git_reflog** out_, libgit2_d.types.git_repository* repo, const(char)* name)

Read the reflog for the given reference

git_reflog_rename
int git_reflog_rename(libgit2_d.types.git_repository* repo, const(char)* old_name, const(char)* name)

Rename a reflog

git_reflog_write
int git_reflog_write(libgit2_d.types.git_reflog* reflog)

Write an existing in-memory reflog object back to disk using an atomic file lock.

Meta