App::Codeowners::Util - Grab bag of utility subs for Codeowners modules
version 0.46
DO NOT USE except in App::Codeowners and related modules.
$filepath = find_nearest_codeowners($dirpath);
Find the CODEOWNERS file in the current working directory, or search in the parent directory recursively until a CODEOWNERS file is found.
Returns undef if no CODEOWNERS is found.
undef
$filepath = find_codeowners_in_directory($dirpath);
Find the CODEOWNERS file in a given directory. No recursive searching is done.
Returns the first of (or undef if none found):
CODEOWNERS
docs/CODEOWNERS
.bitbucket/CODEOWNERS
.github/CODEOWNERS
.gitlab/CODEOWNERS
Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/git-codeowners/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Charles McGarvey <chazmcgarvey@brokenzipper.com>
This software is copyright (c) 2019 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Codeowners, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Codeowners
CPAN shell
perl -MCPAN -e shell install App::Codeowners
For more information on module installation, please visit the detailed CPAN module installation guide.