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.337'; |
4
|
|
|
|
|
|
|
# ABSTRACT: check if the current repository is managed |
5
|
15
|
|
|
15
|
|
10594
|
use 5.014; |
|
15
|
|
|
|
|
61
|
|
6
|
|
|
|
|
|
|
|
7
|
15
|
|
|
15
|
|
105
|
use Cwd; |
|
15
|
|
|
|
|
39
|
|
|
15
|
|
|
|
|
1133
|
|
8
|
|
|
|
|
|
|
|
9
|
15
|
|
|
15
|
|
107
|
use Moo; |
|
15
|
|
|
|
|
44
|
|
|
15
|
|
|
|
|
88
|
|
10
|
|
|
|
|
|
|
extends 'App::GitGot::Command'; |
11
|
15
|
|
|
15
|
|
5412
|
use namespace::autoclean; |
|
15
|
|
|
|
|
35
|
|
|
15
|
|
|
|
|
112
|
|
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__ |