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.339'; |
4
|
|
|
|
|
|
|
# ABSTRACT: check if the current repository is managed |
5
|
15
|
|
|
15
|
|
9435
|
use 5.014; |
|
15
|
|
|
|
|
58
|
|
6
|
|
|
|
|
|
|
|
7
|
15
|
|
|
15
|
|
105
|
use Cwd; |
|
15
|
|
|
|
|
38
|
|
|
15
|
|
|
|
|
1192
|
|
8
|
|
|
|
|
|
|
|
9
|
15
|
|
|
15
|
|
117
|
use Moo; |
|
15
|
|
|
|
|
43
|
|
|
15
|
|
|
|
|
105
|
|
10
|
|
|
|
|
|
|
extends 'App::GitGot::Command'; |
11
|
15
|
|
|
15
|
|
5543
|
use namespace::autoclean; |
|
15
|
|
|
|
|
70
|
|
|
15
|
|
|
|
|
117
|
|
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__ |