fixing inline pod documentation for the debian package. (missing whatis entry)
[catagits/Gitalist.git] / lib / Gitalist / Git / Object / Tree.pm
index e284aa4..330f684 100644 (file)
@@ -4,7 +4,42 @@ 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