libgit2_d.transaction

Undocumented in source.

Members

Functions

git_transaction_commit
int git_transaction_commit(libgit2_d.types.git_transaction* tx)

Commit the changes from the transaction

git_transaction_free
void git_transaction_free(libgit2_d.types.git_transaction* tx)

Free the resources allocated by this transaction

git_transaction_lock_ref
int git_transaction_lock_ref(libgit2_d.types.git_transaction* tx, const(char)* refname)

Lock a reference

git_transaction_new
int git_transaction_new(libgit2_d.types.git_transaction** out_, libgit2_d.types.git_repository* repo)

Create a new transaction object

git_transaction_remove
int git_transaction_remove(libgit2_d.types.git_transaction* tx, const(char)* refname)

Remove a reference

git_transaction_set_reflog
int git_transaction_set_reflog(libgit2_d.types.git_transaction* tx, const(char)* refname, const(libgit2_d.types.git_reflog)* reflog)

Set the reflog of a reference

git_transaction_set_symbolic_target
int git_transaction_set_symbolic_target(libgit2_d.types.git_transaction* tx, const(char)* refname, const(char)* target, const(libgit2_d.types.git_signature)* sig, const(char)* msg)

Set the target of a reference

git_transaction_set_target
int git_transaction_set_target(libgit2_d.types.git_transaction* tx, const(char)* refname, const(libgit2_d.oid.git_oid)* target, const(libgit2_d.types.git_signature)* sig, const(char)* msg)

Set the target of a reference

Meta