line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::GitGot::Command::this; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:GENEHACK'; |
3
|
|
|
|
|
|
|
$App::GitGot::Command::this::VERSION = '1.336'; |
4
|
|
|
|
|
|
|
# ABSTRACT: check if the current repository is managed |
5
|
15
|
|
|
15
|
|
7817
|
use 5.014; |
|
15
|
|
|
|
|
44
|
|
6
|
|
|
|
|
|
|
|
7
|
15
|
|
|
15
|
|
65
|
use Cwd; |
|
15
|
|
|
|
|
27
|
|
|
15
|
|
|
|
|
733
|
|
8
|
|
|
|
|
|
|
|
9
|
15
|
|
|
15
|
|
96
|
use Moo; |
|
15
|
|
|
|
|
40
|
|
|
15
|
|
|
|
|
87
|
|
10
|
|
|
|
|
|
|
extends 'App::GitGot::Command'; |
11
|
15
|
|
|
15
|
|
4332
|
use namespace::autoclean; |
|
15
|
|
|
|
|
51
|
|
|
15
|
|
|
|
|
108
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _execute { |
14
|
0
|
|
|
0
|
|
|
my( $self, $opt, $args ) = @_; |
15
|
|
|
|
|
|
|
|
16
|
0
|
0
|
|
|
|
|
$self->_path_is_managed( getcwd() ) or exit 1; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
## FIXME docs |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |