is => 'ro',
required => 1 );
+ method project (NonEmptySimpleStr $project) {
+ my $pd = $self->dir_from_project_name($project);
+ return Gitalist::Git::Project->new(
+ name => $project,
+ path => $pd,
+ );
+ }
+
+
=head2 _is_git_repo
Determine whether a given directory (as a L<Path::Class::Dir> object) is a
my $project_list = $repo->list_projects;
isa_ok(@$project_list[0], 'Gitalist::Git::Project');
+
+my $project = $repo->project('repo1');
+isa_ok($project, 'Gitalist::Git::Project');