handlesRepository method

bool handlesRepository(
  1. String repositoryName
)
inherited

Returns true if this strategy handles the given repository.

By default, returns true if repositoryNames is empty (handles all) or if the repository name is in the list.

Implementation

bool handlesRepository(String repositoryName) {
  return repositoryNames.isEmpty || repositoryNames.contains(repositoryName);
}