git_refdb_backend.lock

Lock a reference.

The opaque parameter will be passed to the unlock function.

A refdb implementation may provide this function; if it is not provided, the transaction API will fail to work.

struct git_refdb_backend
int function(void** payload_out, .git_refdb_backend* backend, const(char)* refname) lock;

Meta