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
9becfc9d
ROOT
/
go
/
libraries
/
doltcore
/
env
/
repo_state.go
Search
History
220 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
RepoStateReader
CWBHeadRef
()
:
ref.DoltRef
CWBHeadSpec
()
:
*doltdb.CommitSpec
GetRemotes
()
:
(map[string]Remote, error)
GetBackups
()
:
(map[string]Remote, error)
GetBranches
()
:
(map[string]BranchConfig, error)
RepoStateWriter
UpdateStagedRoot
(ctx context.Context, newRoot *doltdb.RootValue)
:
error
UpdateWorkingRoot
(ctx context.Context, newRoot *doltdb.RootValue)
:
error
SetCWBHeadRef
(context.Context, ref.MarshalableRef)
:
error
AddRemote
(r Remote)
:
error
AddBackup
(r Remote)
:
error
RemoveRemote
(ctx context.Context, name string)
:
error
RemoveBackup
(ctx context.Context, name string)
:
error
TempTableFilesDir
()
:
(string, error)
UpdateBranch
(name string, new BranchConfig)
:
error
DbData
Ddb
:
*doltdb.DoltDB
Rsw
:
RepoStateWriter
Rsr
:
RepoStateReader
BranchConfig
Merge
:
ref.MarshalableRef
Remote
:
string
RepoState
Head
:
ref.MarshalableRef
Remotes
:
map[string]Remote
Backups
:
map[string]Remote
Branches
:
map[string]BranchConfig
staged
:
string
working
:
string
merge
:
*mergeState
Save
(fs filesys.ReadWriteFS)
:
error
repoStateLegacy
Head
:
ref.MarshalableRef
Remotes
:
map[string]Remote
Backups
:
map[string]Remote
Branches
:
map[string]BranchConfig
Staged
:
string
Working
:
string
Merge
:
*mergeState
repoStateLegacyFromRepoState
(rs *RepoState)
:
*repoStateLegacy
mergeState
Commit
:
string
PreMergeWorking
:
string
LoadRepoState
(fs filesys.ReadWriteFS)
:
(*RepoState, error)
CloneRepoState
(fs filesys.ReadWriteFS, r Remote)
:
(*RepoState, error)
CreateRepoState
(fs filesys.ReadWriteFS, br string)
:
(*RepoState, error)
*repoStateLegacy
toRepoState
()
:
*RepoState
save
(fs filesys.ReadWriteFS)
:
error
*RepoState
CWBHeadRef
()
:
ref.DoltRef
CWBHeadSpec
()
:
*doltdb.CommitSpec
AddRemote
(r Remote)
RemoveRemote
(r Remote)
AddBackup
(r Remote)
RemoveBackup
(r Remote)
All occurrences
Please wait...
Page is in error, reload to recover