package Gitalist::Git::Object::Tree;
use MooseX::Declare;

class Gitalist::Git::Object::Tree
    extends Gitalist::Git::Object
    with Gitalist::Git::Object::HasTree {
        has '+type' => ( default => 'tree' );
        has '+_gpp_obj' => ( handles => [ 'directory_entries',
                                      ],
                         );
    }

1;

__END__

=head1 NAME

Gitalist::Git::Object::Tree - Git::Object::Tree module for Gitalist

=head1 SYNOPSIS

    my $tree = Repository->get_object($tree_sha1);

=head1 DESCRIPTION

Represents a tree object in a git repository.
Subclass of C<Gitalist::Git::Object>.


=head1 ATTRIBUTES


=head1 METHODS


=head1 AUTHORS

See L<Gitalist> for authors.

=head1 LICENSE

See L<Gitalist> for the license.

=cut
