NAME

Gitalist::Git::Repo - Model of a repository directory

SYNOPSIS

my $repo = Gitalist::Git::Repo->new( repo_dir => $Dir );
my $project_list = $repo->projects;
my $first_project = @$project_list[0];
my $named_project = $repo->project('Gitalist');

DESCRIPTION

This class models a Gitalist Repo, which is a collection of Projects (git repositories). It is used for creating Project objects to work with.

ATTRIBUTES

repo_dir

Path::Class::Dir for the root of the Repo.

projects

An array of Gitalist::Git::Project for each valid git repo found in repo_dir.

METHODS

project

Returns a Gitalist::Git::Project for the specified project name.

SEE ALSO

Gitalist::Git::Project

AUTHORS

See Gitalist for authors.

LICENSE

See Gitalist for the license.