NAME

Gitalist::Git::CollectionOfRepositories::FromDirectory::WhiteList - Model of a repositories listed in a file in a given directory.

SYNOPSIS

my $repo = Gitalist::Git::CollectionOfRepositories::FromDirectory::WhiteList->new(
  repo_dir  => $Dir,
  whitelist => 'projects.list',
);
my $repository_list = $repo->repositories;
my $first_repository = $repository_list->[0];
my $named_repository = $repo->get_repository('Gitalist');

DESCRIPTION

This class provides a list of Repositories found in the given directory and specified in a given whitelist file.

ATTRIBUTES

whitelist (Path::Class::File)

The file containing the available repositories. Each line specifies a different repository within "repo_dir".

SEE ALSO

Gitalist::Git::CollectionOfRepositories, Git::Gitalist::Repository, Gitalist::Git::CollectionOfRepositories::FromDirectory

AUTHORS

See Gitalist for authors.

LICENSE

See Gitalist for the license.