| 1 | package App::GitGot::Command::this; | ||||||||||
| 2 | 16 | our $AUTHORITY = 'cpan:GENEHACK'; | |||||||||
| 3 | 16 | $App::GitGot::Command::this::VERSION = '1.339'; | |||||||||
| 4 | # ABSTRACT: check if the current repository is managed | ||||||||||
| 5 | 16 | ▶ | use 5.014; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 16 | ▶ | use Cwd; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 16 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 16 | extends 'App::GitGot::Command'; | |||||||||
| 11 | 16 | ▶ | use namespace::autoclean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | 0 | ▶ | sub _execute { | ||||||||
|
Subroutine
_execute: not called CC=2 SCAR=17.9
| |||||||||||
| 14 | 0 | my( $self, $opt, $args ) = @_; | |||||||||
| 15 | |||||||||||
| 16 | 0 | ▶ | $self->_path_is_managed( getcwd() ) or exit 1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 16 | 1; | |||||||||
| 20 | |||||||||||
| 21 | ## FIXME docs | ||||||||||
| 22 | |||||||||||
| 23 | __END__ | ||||||||||