public interface BranchManager
Branch
.Modifier and Type | Field and Description |
---|---|
static String |
BRANCH_PREFIX |
static String |
DEFAULT_MAIN_BRANCH |
Modifier and Type | Method and Description |
---|---|
List<String> |
branches() |
default boolean |
branchExists(String branchName) |
static String |
branchPath(Path tablePath,
String branch)
Return the path string of a branch.
|
void |
createBranch(String branchName) |
void |
createBranch(String branchName,
String tagName) |
void |
dropBranch(String branchName) |
void |
fastForward(String branchName) |
static void |
fastForwardValidate(String branchName) |
static boolean |
isMainBranch(String branch) |
static String |
normalizeBranch(String branch) |
static void |
validateBranch(String branchName) |
static final String BRANCH_PREFIX
static final String DEFAULT_MAIN_BRANCH
void createBranch(String branchName)
void dropBranch(String branchName)
void fastForward(String branchName)
default boolean branchExists(String branchName)
static String branchPath(Path tablePath, String branch)
static boolean isMainBranch(String branch)
static void validateBranch(String branchName)
static void fastForwardValidate(String branchName)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.