Path::IsDev::Heuristic::DevDirMarker
Determine if a path contains a .devdir file
- Provided by: libpath-isdev-perl (Version: 1.001003-1)
- Report a bug
Determine if a path contains a .devdir file
version 1.001003
This Heuristic is a workaround that is likely viable in the event none of the other Heuristics work.
All this heuristic checks for is the presence of a special file called ".devdir", which is intended as an explicit notation that "This directory is a project root".
An example case where you might need such a Heuristic, is the scenario where you're not working with a Perl "CPAN" dist, but are instead working on a project in a different language, where Perl is simply there for build/test purposes.
Matches files named:
.devdir
Matches if any of the files in "files" exist as children of the "path"
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.