public Collaborators(IGitWrapper wrapper, string teamname, Permission permission = Permission.Push, IEnumerable <string> only = null, IEnumerable <string> not = null) { this.teamname = teamname; this.permission = permission; this.only = only ?? new List <string>(); this.not = not ?? new List <string>(); this.Wrapper = wrapper; var info = $"Checking if {teamname} has {permission.ToString()} on {Config.Github.Org}"; if (this.only.Any()) { info += $" but only " + string.Join(", ", this.only); } if (this.not.Any()) { info += $" but not " + string.Join(", ", this.not); } l(info, 1); }
internal BackupManager(IDbService dbService, IGitWrapper gitWrapper) { this.dbService = dbService; this.gitWrapper = gitWrapper; }
public Audit(string outputPath = null) { this.outputPath = outputPath; this.wrapper = new GitWrapper(base.Client); }
public TeamMemberships(Audit.AuditDto auditData, Dictionary <string, List <string> > teams) { this.auditData = auditData; this.teams = teams; this.wrapper = new GitWrapper(Client); }