lib/Git/Class/Role/Add.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Git::Class::Role::Add; | ||||||
2 | |||||||
3 | 3 | 3 | 1778 | use Moo::Role; with 'Git::Class::Role::Execute'; | |||
3 | 7 | ||||||
3 | 17 | ||||||
4 | requires 'git'; | ||||||
5 | |||||||
6 | sub add { | ||||||
7 | 1 | 1 | 1 | 9047 | my $self = shift; | ||
8 | |||||||
9 | # my ($options, @args) = $self->_get_options(@_); | ||||||
10 | |||||||
11 | 1 | 19 | $self->git( add => @_ ); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |