=head2 C<support>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Git::Wrapper::Plus",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kent
es( $result_object ) ) {
# one of the directories in ->dirs exists
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::TestDir",
"interface":"single_class",
Heuristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::Dir"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
mpatible object
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Git::Wrapper::Plus::Refs",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <k
:META;
our $VERSION = '1.001003';
# ABSTRACT: Determine if a path contains META.(json|yml)
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
use Role::Tiny::With qw( with );
with 'Path::I
, 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
sub files {
return qw( META.json META.yml );
}
sub matches {
my ( $self, $result_object ) = @_;
if ( $self->child_exist
- Determine if a path contains META.(json|yml)
=head1 VERSION
version 1.001003
=head1 METHODS
=head2 C<files>
files relevant to this heuristic:
META.json
META.yml
=head2 C<matches>
Mat
itter_email >>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Git::Wrapper::Plus::Tester",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <
or plumbing )
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Git::Wrapper::Plus::Branches",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric
not specified.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Git::Wrapper::Plus::Tags",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <k
tches>
Matches if any of the files in C<files> exist as children of the C<path>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::Makefile",
"interface":"single_class",
euristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::File"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
type
positive heuristic
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Heuristic",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org
tible object.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Git::Wrapper::Plus::Versions",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric
lt_object->path >>.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::Exists::Any",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl
eturn if they match.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::FullPath::Is::Any",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl
...
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <k
OD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::Exists::Any::File",
"interface":"role",
"does":"Path::IsDev::Role::Matcher::Child::Exists::Any"
}
=end MetaPOD::JSON
=
turn a match if any children of C<path> exist called C<.git> and are directories
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::VCS::Git",
"interface":"single_class",
Heuristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::Dir"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
OD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::Exists::Any::Dir",
"interface":"role",
"does":"Path::IsDev::Role::Matcher::Child::Exists::Any"
}
=end MetaPOD::JSON
=h
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::HeuristicSet::Simple",
"interface":"role",
"does":"Path::IsDev::Role::HeuristicSet"
}
=end MetaPOD::JSON
=head1 AUTHOR
tches>
Matches if any of the files in C<files> exist as children of the C<path>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::Tool::ModuleBuild",
"interface":"single_cl
euristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::File"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
negative heuristic
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::NegativeHeuristic",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan
gin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::HeuristicSet::Basic",
"interface":"single_class",
"does":"Path::IsDev::Role::HeuristicSet::Simple"
}
=end MetaPOD::JSON
=head1 AUTH