• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DrHyde / perl-modules-lib-relative-to / 5163194274

pending completion
5163194274

Pull #9

github

web-flow
Merge 0c6b5ca3c into ab54e1612
Pull Request #9: Bump cross-platform-actions/action from 0.13.0 to 0.14.0

59 of 59 relevant lines covered (100.0%)

9.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/lib/lib/relative/to/GitRepository.pm
1
package lib::relative::to::GitRepository;
2

3
use strict;
2✔
4
use warnings;
2✔
5
 
6
use parent 'lib::relative::to::ParentContaining';
2✔
7

8
# if $ENV{GIT_CONFIG} is set look for
9
# that, otherwise for .git/config
10
sub _find {
11
    my($class, @args) = @_;
2✔
12
    $class->SUPER::_find('.git/config', @args);
2✔
13
}
14

15
1;
16

17
=head1 NAME
18

19
lib::relative::to::GitRepository
20

21
=head1 SYNOPSIS
22

23
    use lib::relative::to GitRepository => qw(lib t/lib);
24

25
=head1 DESCRIPTION
26

27
A plugin for L<lib::relative::to> for finding the root of a git repository and then adding some directories under it to C<@INC>.
28

29
It works by looking for the parent directory containing C<.git/config>.
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc