File: Config.pm

package info (click to toggle)
libgit-pureperl-perl 0.53-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 368 kB
  • sloc: perl: 3,153; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package Git::PurePerl::Config;
use Moose;
use MooseX::StrictConstructor;
use Moose::Util::TypeConstraints;
use namespace::autoclean;

extends 'Config::GitLike';

has '+confname' => ( default => "gitconfig" );
has 'git'       => ( is => 'ro', isa => 'Git::PurePerl', required => 1, weak_ref => 1 );

override dir_file => sub {
    my $self = shift;
    return $self->git->gitdir->file("config");
};

1;