crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
e87a8262
ROOT
/
go
/
libraries
/
doltcore
/
env
/
actions
/
branch.go
Search
History
498 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrAlreadyExists
ErrCOBranchDelete
ErrUnmergedBranchDelete
RenameBranch
(ctx context.Context, dbData env.DbData, config *env.DoltCliConfig, oldBranch, newBranch string, force bool)
:
error
CopyBranch
(ctx context.Context, dEnv *env.DoltEnv, oldBranch, newBranch string, force bool)
:
error
CopyBranchOnDB
(ctx context.Context, ddb *doltdb.DoltDB, oldBranch, newBranch string, force bool)
:
error
DeleteOptions
Force
:
bool
Remote
:
bool
DeleteBranch
(ctx context.Context, dbData env.DbData, config *env.DoltCliConfig, brName string, opts DeleteOptions)
:
error
DeleteBranchOnDB
(ctx context.Context, dbData env.DbData, config *env.DoltCliConfig, dref ref.DoltRef, opts DeleteOptions)
:
error
CreateBranchWithStartPt
(ctx context.Context, dbData env.DbData, newBranch, startPt string, force bool)
:
error
CreateBranchOnDB
(ctx context.Context, ddb *doltdb.DoltDB, newBranch, startingPoint string, force bool, headRef ref.DoltRef)
:
error
createBranch
(ctx context.Context, dbData env.DbData, newBranch, startingPoint string, force bool)
:
error
UpdateRootsForBranch
(ctx context.Context, roots doltdb.Roots, branchRoot *doltdb.RootValue, force bool)
:
(doltdb.Roots, error)
checkoutBranchNoDocs
(ctx context.Context, roots doltdb.Roots, branchRoot *doltdb.RootValue, rsw env.RepoStateWriter, branchRef ref.BranchRef, force bool)
:
error
CheckoutBranch
(ctx context.Context, dEnv *env.DoltEnv, brName string, force bool)
:
error
BranchRoot
(ctx context.Context, db *doltdb.DoltDB, brName string)
:
(*doltdb.RootValue, error)
emptyHash
moveModifiedTables
(ctx context.Context, oldRoot, newRoot, changedRoot *doltdb.RootValue, conflicts *set.StrSet, force bool)
:
(map[string]hash.Hash, error)
overwriteRoot
(ctx context.Context, head *doltdb.RootValue, tblHashes map[string]hash.Hash)
:
(*doltdb.RootValue, error)
IsBranch
(ctx context.Context, ddb *doltdb.DoltDB, str string)
:
(bool, error)
IsBranchOnDB
(ctx context.Context, ddb *doltdb.DoltDB, str string)
:
(bool, error)
MaybeGetCommit
(ctx context.Context, dEnv *env.DoltEnv, str string)
:
(*doltdb.Commit, error)
All occurrences
Please wait...
Page is in error, reload to recover