type => $type,
sha1 => $object,
file => $file,
- project => $self->project,
+ repository => $self->repository,
);
}
return \@ret;
}
}
+
+1;
+
+
+1;
+
+__END__
+
+=head1 NAME
+
+Gitalist::Git::Object::HasTree - Git::Object::HasTree module for Gitalist
+
+=head1 SYNOPSIS
+
+ my $tree = Repository->get_object($tree_sha1);
+
+=head1 DESCRIPTION
+
+Role for objects which have a tree - C<Commit> and C<Tree> objects.
+
+
+=head1 ATTRIBUTES
+
+=head2 tree
+
+
+=head1 METHODS
+
+
+=head1 AUTHORS
+
+See L<Gitalist> for authors.
+
+=head1 LICENSE
+
+See L<Gitalist> for the license.
+
+=cut