git_transaction_new

Create a new transaction object

This does not lock anything, but sets up the transaction object to know from which repository to lock.

extern (C) nothrow @nogc
int
git_transaction_new

Parameters

out_ libgit2_d.types.git_transaction**

the resulting transaction

repo libgit2_d.types.git_repository*

the repository in which to lock

Return Value

Type: int

0 or an error code

Meta