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
2aa11235
ROOT
/
go
/
libraries
/
doltcore
/
doltdb
/
doltdb.go
Search
History
1324 lines
|
ISO-8859-1
|
36 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
init
()
Working
Staged
CreationBranch
defaultChunksPerTF
LocalDirDoltDB
InMemDoltDB
ErrNoRootValAtHash
ErrCannotDeleteLastBranch
DoltDB
db
:
hooksDatabase
vrw
:
types.ValueReadWriter
ns
:
tree.NodeStore
DoltDBFromCS
(cs chunks.ChunkStore)
:
*DoltDB
HackDatasDatabaseFromDoltDB
(ddb *DoltDB)
:
datas.Database
LoadDoltDB
(ctx context.Context, nbf *types.NomsBinFormat, urlStr string, fs filesys.Filesys)
:
(*DoltDB, error)
LoadDoltDBWithParams
(ctx context.Context, nbf *types.NomsBinFormat, urlStr string, fs filesys.Filesys, params map[string]interface{})
:
(*DoltDB, error)
getCommitValForRefStr
(ctx context.Context, db datas.Database, vrw types.ValueReadWriter, ref string)
:
(*datas.Commit, error)
getCommitValForHash
(ctx context.Context, vr types.ValueReader, c string)
:
(*datas.Commit, error)
Roots
Head
:
*RootValue
Working
:
*RootValue
Staged
:
*RootValue
WriteValAndGetRef
(ctx context.Context, vrw types.ValueReadWriter, val types.Value)
:
(types.Ref, error)
branchRefFilter
BranchWithHash
Ref
:
ref.DoltRef
Hash
:
hash.Hash
tagsRefFilter
TagWithHash
Tag
:
*Tag
Hash
:
hash.Hash
workspacesRefFilter
remotesRefFilter
RemoteWithHash
Ref
:
ref.DoltRef
Hash
:
hash.Hash
pullHash
(ctx context.Context, destDB, srcDB datas.Database, targetHash hash.Hash, tempDir string, progChan chan pull.PullProgress, statsCh chan pull.Stats)
:
error
*DoltDB
NomsRoot
(ctx context.Context)
:
(hash.Hash, error)
CommitRoot
(ctx context.Context, last, current hash.Hash)
:
(bool, error)
Has
(ctx context.Context, h hash.Hash)
:
(bool, error)
CSMetricsSummary
()
:
string
WriteEmptyRepo
(ctx context.Context, initBranch, name, email string)
:
error
WriteEmptyRepoWithCommitTime
(ctx context.Context, initBranch, name, email string, t time.Time)
:
error
WriteEmptyRepoWithCommitTimeAndDefaultBranch
( ctx context.Context, name, email string, t time.Time, init ref.BranchRef, )
:
error
Resolve
(ctx context.Context, cs *CommitSpec, cwb ref.DoltRef)
:
(*Commit, error)
ResolveCommitRef
(ctx context.Context, ref ref.DoltRef)
:
(*Commit, error)
ResolveTag
(ctx context.Context, tagRef ref.TagRef)
:
(*Tag, error)
ResolveWorkingSet
(ctx context.Context, workingSetRef ref.WorkingSetRef)
:
(*WorkingSet, error)
WriteRootValue
(ctx context.Context, rv *RootValue)
:
(*RootValue, hash.Hash, error)
writeRootValue
(ctx context.Context, rv *RootValue)
:
(*RootValue, types.Ref, error)
ReadRootValue
(ctx context.Context, h hash.Hash)
:
(*RootValue, error)
ReadCommit
(ctx context.Context, h hash.Hash)
:
(*Commit, error)
Commit
(ctx context.Context, valHash hash.Hash, dref ref.DoltRef, cm *datas.CommitMeta)
:
(*Commit, error)
FastForward
(ctx context.Context, branch ref.DoltRef, commit *Commit)
:
error
CanFastForward
(ctx context.Context, branch ref.DoltRef, new *Commit)
:
(bool, error)
SetHeadToCommit
(ctx context.Context, ref ref.DoltRef, cm *Commit)
:
error
SetHead
(ctx context.Context, ref ref.DoltRef, addr hash.Hash)
:
error
CommitWithParentSpecs
(ctx context.Context, valHash hash.Hash, dref ref.DoltRef, parentCmSpecs []*CommitSpec, cm *datas.CommitMeta)
:
(*Commit, error)
CommitWithParentCommits
(ctx context.Context, valHash hash.Hash, dref ref.DoltRef, parentCommits []*Commit, cm *datas.CommitMeta)
:
(*Commit, error)
CommitValue
(ctx context.Context, dref ref.DoltRef, val types.Value, commitOpts datas.CommitOptions)
:
(*Commit, error)
CommitDanglingWithParentCommits
(ctx context.Context, valHash hash.Hash, parentCommits []*Commit, cm *datas.CommitMeta)
:
(*Commit, error)
CommitDangling
(ctx context.Context, val types.Value, opts datas.CommitOptions)
:
(*Commit, error)
ValueReadWriter
()
:
types.ValueReadWriter
NodeStore
()
:
tree.NodeStore
Format
()
:
*types.NomsBinFormat
ResolveParent
(ctx context.Context, commit *Commit, parentIdx int)
:
(*Commit, error)
ResolveAllParents
(ctx context.Context, commit *Commit)
:
([]*Commit, error)
HasRef
(ctx context.Context, doltRef ref.DoltRef)
:
(bool, error)
GetBranches
(ctx context.Context)
:
([]ref.DoltRef, error)
HasBranch
(ctx context.Context, branchName string)
:
(bool, error)
GetBranchesWithHashes
(ctx context.Context)
:
([]BranchWithHash, error)
GetTags
(ctx context.Context)
:
([]ref.DoltRef, error)
HasTag
(ctx context.Context, tagName string)
:
(bool, error)
GetTagsWithHashes
(ctx context.Context)
:
([]TagWithHash, error)
GetWorkspaces
(ctx context.Context)
:
([]ref.DoltRef, error)
GetRemoteRefs
(ctx context.Context)
:
([]ref.DoltRef, error)
GetRemotesWithHashes
(ctx context.Context)
:
([]RemoteWithHash, error)
GetHeadRefs
(ctx context.Context)
:
([]ref.DoltRef, error)
VisitRefsOfType
(ctx context.Context, refTypeFilter map[ref.RefType]struct{}, visit func(r ref.DoltRef, addr hash.Hash) error)
:
error
GetRefByNameInsensitive
(ctx context.Context, refName string)
:
(ref.DoltRef, error)
GetRefsOfType
(ctx context.Context, refTypeFilter map[ref.RefType]struct{})
:
([]ref.DoltRef, error)
NewBranchAtCommit
(ctx context.Context, branchRef ref.DoltRef, commit *Commit)
:
error
CopyWorkingSet
(ctx context.Context, fromWSRef ref.WorkingSetRef, toWSRef ref.WorkingSetRef, force bool)
:
error
DeleteBranch
(ctx context.Context, branch ref.DoltRef)
:
error
deleteRef
(ctx context.Context, dref ref.DoltRef)
:
error
NewTagAtCommit
(ctx context.Context, tagRef ref.DoltRef, c *Commit, meta *datas.TagMeta)
:
error
UpdateWorkingSet
( ctx context.Context, workingSetRef ref.WorkingSetRef, workingSet *WorkingSet, prevHash hash.Hash, meta *datas.WorkingSetMeta, )
:
error
CommitWithWorkingSet
( ctx context.Context, headRef ref.DoltRef, workingSetRef ref.WorkingSetRef, commit *PendingCommit, workingSet *WorkingSet, prevHash hash.Hash, meta *datas.WorkingSetMeta, )
:
(*Commit, error)
DeleteWorkingSet
(ctx context.Context, workingSetRef ref.WorkingSetRef)
:
error
DeleteTag
(ctx context.Context, tag ref.DoltRef)
:
error
NewWorkspaceAtCommit
(ctx context.Context, workRef ref.DoltRef, c *Commit)
:
error
DeleteWorkspace
(ctx context.Context, workRef ref.DoltRef)
:
error
Rebase
(ctx context.Context)
:
error
GC
(ctx context.Context, uncommittedVals ...hash.Hash)
:
error
ShallowGC
(ctx context.Context)
:
error
pruneUnreferencedDatasets
(ctx context.Context)
:
error
PullChunks
(ctx context.Context, tempDir string, srcDB *DoltDB, targetHash hash.Hash, progChan chan pull.PullProgress, statsCh chan pull.Stats)
:
error
Clone
(ctx context.Context, destDB *DoltDB, eventCh chan<- pull.TableFileEvent)
:
error
SetCommitHooks
(ctx context.Context, postHooks []CommitHook)
:
*DoltDB
PrependCommitHook
(ctx context.Context, hook CommitHook)
:
*DoltDB
SetCommitHookLogger
(ctx context.Context, wr io.Writer)
:
*DoltDB
ExecuteCommitHooks
(ctx context.Context, datasetId string)
:
error
GetBranchesByRootHash
(ctx context.Context, rootHash hash.Hash)
:
([]BranchWithHash, error)
All occurrences
Please wait...
Page is in error, reload to recover