libgit2

git_reference_is_note

Version:

Check if a reference is a note

Signature

int git_reference_is_note(const git_reference *ref);

Parameters

In
ref

A git reference

Returns

int

1 when the reference lives in the refs/notes namespace; 0 otherwise.

Versions