ProjectApi: Add method to delete branches
Change-Id: I1b707c276c8a6b8ec9923cd19e3ecc9070bf310b
This commit is contained in:
@@ -39,6 +39,8 @@ public interface ProjectApi {
|
||||
ListRefsRequest<BranchInfo> branches();
|
||||
ListRefsRequest<TagInfo> tags();
|
||||
|
||||
void deleteBranches(DeleteBranchesInput in) throws RestApiException;
|
||||
|
||||
abstract class ListRefsRequest<T extends RefInfo> {
|
||||
protected int limit;
|
||||
protected int start;
|
||||
@@ -198,5 +200,10 @@ public interface ProjectApi {
|
||||
public TagApi tag(String ref) throws RestApiException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteBranches(DeleteBranchesInput in) throws RestApiException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user