git_refdb_backend.unlock

Unlock a reference.

Only one of target or symbolic_target will be set. success will be true if the reference should be update, false if the lock must be discarded.

A refdb implementation must provide this function if a lock implementation is provided.

struct git_refdb_backend
int function(.git_refdb_backend* backend, void* payload, int success, int update_reflog, const(libgit2_d.types.git_reference)* ref_, const(libgit2_d.types.git_signature)* sig, const(char)* message) unlock;

Meta