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
v0.50.6
ROOT
/
go
/
libraries
/
doltcore
/
branch_control
/
branch_control.go
Search
History
265 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrIncorrectPermissions
ErrCannotCreateBranch
ErrCannotDeleteBranch
ErrExpressionsTooLong
ErrInsertingRow
ErrUpdatingRow
ErrUpdatingToRow
ErrDeletingRow
Context
GetBranch
()
:
(string, error)
GetUser
()
:
string
GetHost
()
:
string
GetController
()
:
*Controller
Controller
Access
:
*Access
Namespace
:
*Namespace
branchControlFilePath
:
string
doltConfigDirPath
:
string
StaticController
enabled
init
()
CreateController
(ctx context.Context)
:
*Controller
CreateControllerWithSuperUser
(ctx context.Context, superUser string, superHost string)
:
*Controller
LoadData
(ctx context.Context, branchControlFilePath string, doltConfigDirPath string)
:
error
SaveData
(ctx context.Context)
:
error
Reset
()
CheckAccess
(ctx context.Context, flags Permissions)
:
error
CanCreateBranch
(ctx context.Context, branchName string)
:
error
CanDeleteBranch
(ctx context.Context, branchName string)
:
error
GetBranchAwareSession
(ctx context.Context)
:
Context
All occurrences
Please wait...
Page is in error, reload to recover