Skip to content

Commit

Permalink
remove add
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyaug committed Sep 26, 2023
1 parent eff3038 commit f1c5441
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/graveler/graveler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3235,9 +3235,6 @@ type GarbageCollectionManager interface {
}

type ProtectedBranchesManager interface {
// Add creates a rule for the given name pattern, blocking the given actions.
// Returns ErrRuleAlreadyExists if there is already a rule for the given pattern.
Add(ctx context.Context, repository *RepositoryRecord, branchNamePattern string, blockedActions []BranchProtectionBlockedAction) error
// Delete deletes the rule for the given name pattern, or returns ErrRuleNotExists if there is no such rule.
Delete(ctx context.Context, repository *RepositoryRecord, branchNamePattern string) error
// Get returns the list of blocked actions for the given name pattern, or nil if no rule was defined for the pattern.
Expand Down

0 comments on commit f1c5441

Please sign in to comment.