git_refdb_backend.del

Deletes the given reference from the refdb.

If it exists, its reflog should be deleted as well.

A refdb implementation must provide this function.

struct git_refdb_backend
int function(.git_refdb_backend* backend, const(char)* ref_name, const(libgit2_d.oid.git_oid)* old_id, const(char)* old_target) del;

Return Value

0 on success, otherwise a negative error code.

Meta