Path::I...rMarker(3)

πŸ’… Path::I...rMarker(3) πŸ’…

okay so welcome to the User Contributed Perl Documentation page for Path::IsDev::Heuristic::DevDirMarker β€” the manual name is folded in right here, bestie, because we're cute like that 🫢. this whole page is about one little heuristic, and it's a whole vibe.

🌸 NAME 🌸

Path::IsDev::Heuristic::DevDirMarker β€” determine if a path contains a .devdir file. that's the mission, and it ate πŸ’….

✨ VERSION ✨

version 1.001003 β€” that's the number, no cap πŸ”₯.

πŸŽ€ DESCRIPTION πŸŽ€

okay so this Heuristic is a workaround, and it's likely viable if none of the other Heuristics work for you. lowkey it's the backup plan that shows up and does its thing 😭.

all this heuristic checks for is the presence of a special file called .devdir. that file is intended as an explicit notation that "This directory is a project root" β€” like the folder is wearing a tiny crown that says project root πŸ‘‘.

an example case where you might need such a Heuristic: you're not working with a Perl CPAN dist, but instead you're working on a project in a different language, where Perl is simply there for build/test purposes. iykyk, Perl is just doing backup dancer duty πŸ’ƒ.

πŸ’– METHODS πŸ’–

✨ files ✨

matches files named:

.devdir

that's the list, bestie β€” just .devdir, and it's iconic for it 🎯.

πŸ¦‹ matches πŸ¦‹

matches if any of the files in files exist as children of the path. so like, if .devdir is sitting inside that path, this heuristic says yes β€” periodt 🌈.

🌟 AUTHOR 🌟

Kent Fredric <kentnl@cpan.org> β€” author behavior, we love to see it πŸ‘‘.

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. free software fr fr 🫢.


πŸ’€ cute sign-off: this page is from perl v5.42.0, dated 2017-03-11, and it's the Path::I...rMarker(3) page. bye bestie, go mark those dev dirs and slay βœ¨πŸ’…

πŸ“¦ where this page comes from