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
1c3fcbe5
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
dsess
/
session_state_adapter.go
Search
History
193 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
SessionStateAdapter
session
:
*DoltSession
dbName
:
string
remotes
:
map[string]env.Remote
backups
:
map[string]env.Remote
branches
:
map[string]env.BranchConfig
UpdateStagedRoot
(ctx context.Context, newRoot *doltdb.RootValue)
:
error
UpdateWorkingRoot
(ctx context.Context, newRoot *doltdb.RootValue)
:
error
SetCWBHeadRef
(_ context.Context, _ ref.MarshalableRef)
:
error
AbortMerge
(_ context.Context)
:
error
ClearMerge
(_ context.Context)
:
error
StartMerge
(_ context.Context, _ *doltdb.Commit)
:
error
GetRoots
(_ context.Context)
:
(doltdb.Roots, error)
CWBHeadRef
()
:
ref.DoltRef
CWBHeadSpec
()
:
*doltdb.CommitSpec
IsMergeActive
(_ context.Context)
:
(bool, error)
GetMergeCommit
(_ context.Context)
:
(*doltdb.Commit, error)
GetPreMergeWorking
(_ context.Context)
:
(*doltdb.RootValue, error)
GetRemotes
()
:
(map[string]env.Remote, error)
GetBackups
()
:
(map[string]env.Remote, error)
GetBranches
()
:
(map[string]env.BranchConfig, error)
UpdateBranch
(name string, new env.BranchConfig)
:
error
AddRemote
(remote env.Remote)
:
error
AddBackup
(_ env.Remote)
:
error
RemoveRemote
(_ context.Context, name string)
:
error
RemoveBackup
(_ context.Context, _ string)
:
error
TempTableFilesDir
()
:
(string, error)
_
:
env.RepoStateReader
_
:
env.RepoStateWriter
_
:
env.RootsProvider
NewSessionStateAdapter
(session *DoltSession, dbName string, remotes map[string]env.Remote, branches map[string]env.BranchConfig, backups map[string]env.Remote)
:
SessionStateAdapter
All occurrences
Please wait...
Page is in error, reload to recover