The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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)

The filesystem root of the Repo.

projects

An array of all Repos found in repo_dir.

METHODS

project (Str $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.