git_refdb_backend.rename

Rename a reference in the refdb.

A refdb implementation must provide this function.

struct git_refdb_backend
int function(libgit2_d.types.git_reference** out_, .git_refdb_backend* backend, const(char)* old_name, const(char)* new_name, int force, const(libgit2_d.types.git_signature)* who, const(char)* message) rename;

Return Value

0 on success, otherwise a negative error code.

Meta