line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Git::PurePerl::Object; |
2
|
4
|
|
|
4
|
|
13
|
use Moose; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
18
|
|
3
|
4
|
|
|
4
|
|
15660
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
22
|
|
4
|
4
|
|
|
4
|
|
7095
|
use Moose::Util::TypeConstraints; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
27
|
|
5
|
4
|
|
|
4
|
|
4754
|
use namespace::autoclean; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
26
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
enum 'ObjectKind' => [qw(commit tree blob tag)]; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has 'kind' => ( is => 'ro', isa => 'ObjectKind', required => 1 ); |
10
|
|
|
|
|
|
|
has 'size' => ( is => 'ro', isa => 'Int', required => 1 ); |
11
|
|
|
|
|
|
|
has 'content' => ( is => 'rw', isa => 'Str', required => 1 ); |
12
|
|
|
|
|
|
|
has 'sha1' => ( is => 'ro', isa => 'Str', required => 1 ); |
13
|
|
|
|
|
|
|
has 'git' => ( is => 'ro', isa => 'Git::PurePerl', required => 1, weak_ref => 1 ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |