Dist-Zilla-PluginBundle-Author-ETHER
view release on metacpan or search on metacpan
t/lib/Helper.pm view on Meta::CPAN
my $checkdir = path($dir, '.git');
if (-d $checkdir) {
note "found $checkdir in $_[0]";
$in_git = 1;
last;
}
$dir = $dir->parent;
}
continue {
die "too many iterations when traversing $dir!"
if $count++ > 100;
}
return $in_git;
}
# TODO: replace with Test::Deep::notexists($key)
sub notexists {
my @keys = @_;
Test::Deep::code(sub {
# TODO return 0 unless $self->test_reftype($_[0], 'HASH');
( run in 1.403 second using v1.01-cache-2.11-cpan-71847e10f99 )