Method: Rugged::Diff#size
- Defined in:
- ext/rugged/rugged_diff.c
permalink #size ⇒ Integer
Returns the number of deltas/patches in this diff.
556 557 558 559 560 561 562 563 |
# File 'ext/rugged/rugged_diff.c', line 556
static VALUE rb_git_diff_size(VALUE self)
{
git_diff *diff;
Data_Get_Struct(self, git_diff, diff);
return INT2FIX(git_diff_num_deltas(diff));
}
|