private static bool MatchesIncludeExclude(Abstractions.CollaborationModels.Repository repo, SourceControlServerSettings settings)
 {
     return(RegexMatch.IncludeExclude(repo.Name, settings.IncludeRepos, settings.ExcludeRepos));
 }
Esempio n. 2
0
 private static bool RepoIsModifiable(Abstractions.CollaborationModels.Repository repo)
 {
     return
         (!repo.Archived &&
          repo.UserPermissions.Pull);
 }