libgit2

git_reference_name

Version:

Get the full name of a reference.

See git_reference_symbolic_create() for rules about valid names.

Signature

const char *git_reference_name(const git_reference *ref);

Parameters

In
ref

The reference

Returns

const char *

the full name for the ref

Versions