/usr/share/perl5/Git/PurePerl/DirectoryEntry.pm is in libgit-pureperl-perl 0.50-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | package Git::PurePerl::DirectoryEntry;
use Moose;
use MooseX::StrictConstructor;
use Moose::Util::TypeConstraints;
use namespace::autoclean;
has 'mode' => ( is => 'ro', isa => 'Str', required => 1 );
has 'filename' => ( is => 'ro', isa => 'Str', required => 1 );
has 'sha1' => ( is => 'ro', isa => 'Str', required => 1 );
has 'git' => ( is => 'ro', isa => 'Git::PurePerl', required => 1, weak_ref => 1 );
sub object {
my $self = shift;
return $self->git->get_object( $self->sha1 );
}
__PACKAGE__->meta->make_immutable;
|