Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile(3) User Contributed Perl Documentation Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile(3)

Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile - An explicit exclusion file heuristic

version 1.001003

In a "::HeuristicSet":

sub negative_heuristics { return 'IsDev::IgnoreFile' }

Then on your file system:

touch .path_isdev_ignore

Then the given location will no longer be a possible candidate for being deemed a "dev" root directory.

However:

  • Its parents can still be deemed "dev" directories
  • Its children can still be deemed "dev" directories

Files valid for triggering this heuristic:

.path_isdev_ignore

Returns an exclusion if any of "excludes_files" exists, and are files.

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.

2022-05-29 perl v5.36.0