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
30025a0d
ROOT
/
go
/
libraries
/
doltcore
/
branch_control
/
branch_control.go
Search
History
324 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrIncorrectPermissions
ErrCannotCreateBranch
ErrCannotDeleteBranch
ErrExpressionsTooLong
ErrInsertingAccessRow
ErrInsertingNamespaceRow
ErrUpdatingRow
ErrUpdatingToRow
ErrDeletingRow
ErrMissingController
Context
GetBranch
()
:
(string, error)
GetCurrentDatabase
()
:
string
GetUser
()
:
string
GetHost
()
:
string
GetPrivilegeSet
()
:
(sql.PrivilegeSet, uint64)
GetController
()
:
*Controller
Controller
Access
:
*Access
Namespace
:
*Namespace
branchControlFilePath
:
string
doltConfigDirPath
:
string
CreateDefaultController
()
:
*Controller
LoadData
(branchControlFilePath string, doltConfigDirPath string)
:
(*Controller, error)
SaveData
(ctx context.Context)
:
error
CheckAccess
(ctx context.Context, flags Permissions)
:
error
CanCreateBranch
(ctx context.Context, branchName string)
:
error
CanDeleteBranch
(ctx context.Context, branchName string)
:
error
AddAdminForContext
(ctx context.Context, branchName string)
:
error
GetBranchAwareSession
(ctx context.Context)
:
Context
HasDatabasePrivileges
(ctx Context, database string)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover