Method: Rugged::Reference#branch?
- Defined in:
- ext/rugged/rugged_reference.c
#branch? ⇒ Boolean
Returns true
if reference
is a local branch, false otherwise.
352 353 354 355 356 357 |
# File 'ext/rugged/rugged_reference.c', line 352 static VALUE rb_git_ref_is_branch(VALUE self) { git_reference *ref; Data_Get_Struct(self, git_reference, ref); return git_reference_is_branch(ref) ? Qtrue : Qfalse; } |