Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed May 8, 2024
1 parent 8e4cb76 commit c0b9ed1
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,29 @@ public void deleteBranch(String branchName) {
wrapped.deleteBranch(branchName);
}

/**
* Replace main branch.
*
* @param branchName
*/
@Override
public void replaceMainBranch(String branchName) {
privilegeChecker.assertCanInsert(identifier);
wrapped.replaceMainBranch(branchName);
}

@Override
public void cleanMainBranchFile() {
privilegeChecker.assertCanInsert(identifier);
wrapped.cleanMainBranchFile();
}

@Override
public void mainBranch() {
privilegeChecker.assertCanInsert(identifier);
wrapped.mainBranch();
}

@Override
public ExpireSnapshots newExpireSnapshots() {
privilegeChecker.assertCanInsert(identifier);
Expand Down

0 comments on commit c0b9ed1

Please sign in to comment.