Method: Rugged::Index#count
- Defined in:
- ext/rugged/rugged_index.c
permalink #count ⇒ Integer
Returns the number of entries currently in the index.
125 126 127 128 129 130 |
# File 'ext/rugged/rugged_index.c', line 125
static VALUE rb_git_index_count(VALUE self)
{
git_index *index;
Data_Get_Struct(self, git_index, index);
return INT2FIX(git_index_entrycount(index));
}
|