Method: Rugged::Reference#tag?
- Defined in:
- ext/rugged/rugged_reference.c
#tag? ⇒ Boolean
Returns true if reference is a tag, false otherwise.
361 362 363 364 365 366 |
# File 'ext/rugged/rugged_reference.c', line 361 static VALUE rb_git_ref_is_tag(VALUE self) { git_reference *ref; Data_Get_Struct(self, git_reference, ref); return git_reference_is_tag(ref) ? Qtrue : Qfalse; } |