| 1 | package App::CmdDirs::Traverser::Git; | ||
| 2 | 2 | ▶ | use base 'App::CmdDirs::Traverser::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | # Return false if the passed directory does not have a .git subdirectory | ||
| 7 | 2 | ▶ | sub test { |
|
Subroutine
test: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 2 | my ($self, $dir) = @_; | |
| 9 | |||
| 10 | 2 | return (-d "$dir/.git"); | |
| 11 | } | ||
| 12 | |||
| 13 | 2 | 1; | |