git_reflog_rename

Rename a reflog

The reflog to be renamed is expected to already exist

The new name will be checked for validity. See git_reference_create_symbolic() for rules about valid names.

extern (C) nothrow @nogc
int
git_reflog_rename
(,
const(char)* old_name
,
const(char)* name
)

Parameters

repo libgit2_d.types.git_repository*

the repository

old_name const(char)*

the old name of the reference

name const(char)*

the new name of the reference

Return Value

Type: int

0 on success, git_error_code.GIT_EINVALIDSPEC or an error code

Meta