Commit | Line | Data |
---|---|---|
467fa7d9 | 1 | package Gitalist::Git::Object::Tree; |
2 | use MooseX::Declare; | |
3 | ||
0250a92d | 4 | class Gitalist::Git::Object::Tree |
5 | extends Gitalist::Git::Object | |
6 | with Gitalist::Git::Object::HasTree { | |
98390bf6 | 7 | has '+type' => ( default => 'tree' ); |
0250a92d | 8 | has '+_gpp_obj' => ( handles => [ 'directory_entries', |
9 | ], | |
467fa7d9 | 10 | ); |
0250a92d | 11 | } |
775e96e0 | 12 | |
13 | 1; | |
14 | ||
15 | __END__ | |
16 | ||
775e96e0 | 17 | =head1 NAME |
18 | ||
2298d93f | 19 | Gitalist::Git::Object::Tree - Git::Object::Tree module for Gitalist |
775e96e0 | 20 | |
c19af0d0 | 21 | =head1 SYNOPSIS |
22 | ||
44a9ed75 | 23 | my $tree = Repository->get_object($tree_sha1); |
c19af0d0 | 24 | |
775e96e0 | 25 | =head1 DESCRIPTION |
26 | ||
c19af0d0 | 27 | Represents a tree object in a git repository. |
28 | Subclass of C<Gitalist::Git::Object>. | |
29 | ||
30 | ||
31 | =head1 ATTRIBUTES | |
32 | ||
33 | ||
34 | =head1 METHODS | |
35 | ||
775e96e0 | 36 | |
37 | =head1 AUTHORS | |
38 | ||
39 | See L<Gitalist> for authors. | |
40 | ||
41 | =head1 LICENSE | |
42 | ||
43 | See L<Gitalist> for the license. | |
44 | ||
45 | =cut |