Moved snapshot method onto Project as both tree and commit sha1's are acceptable...
[catagits/Gitalist.git] / lib / Gitalist / Git / Object / Tree.pm
CommitLineData
467fa7d9 1package Gitalist::Git::Object::Tree;
2use MooseX::Declare;
3
0250a92d 4class 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 }