git_reference_is_remote

Check if a reference is a remote tracking branch

extern (C) nothrow @nogc
int
git_reference_is_remote

Parameters

ref_ const(libgit2_d.types.git_reference)*

A git reference

Return Value

Type: int

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

Meta