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
98120eb3
ROOT
/
go
/
libraries
/
doltcore
/
doltdb
/
commit.go
Search
History
244 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
errCommitHasNoMeta
errHasNoRootValue
Rootish
ResolveRootValue
(ctx context.Context)
:
(*RootValue, error)
HashOf
()
:
(hash.Hash, error)
Commit
vrw
:
types.ValueReadWriter
ns
:
tree.NodeStore
parents
:
[]*datas.Commit
dCommit
:
*datas.Commit
_
:
Rootish
NewCommit
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, commit *datas.Commit)
:
(*Commit, error)
ErrNoCommonAncestor
GetCommitAncestor
(ctx context.Context, cm1, cm2 *Commit)
:
(*Commit, error)
getCommitAncestorAddr
(ctx context.Context, c1, c2 *datas.Commit, vrw1, vrw2 types.ValueReadWriter, ns1, ns2 tree.NodeStore)
:
(hash.Hash, error)
PendingCommit
Roots
:
Roots
Val
:
types.Value
CommitOptions
:
datas.CommitOptions
*Commit
HashOf
()
:
(hash.Hash, error)
GetCommitMeta
(ctx context.Context)
:
(*datas.CommitMeta, error)
DatasParents
()
:
[]*datas.Commit
ParentHashes
(ctx context.Context)
:
([]hash.Hash, error)
NumParents
()
:
int
Height
()
:
(uint64, error)
GetRootValue
(ctx context.Context)
:
(*RootValue, error)
GetParent
(ctx context.Context, idx int)
:
(*Commit, error)
CanFastForwardTo
(ctx context.Context, new *Commit)
:
(bool, error)
CanFastReverseTo
(ctx context.Context, new *Commit)
:
(bool, error)
GetAncestor
(ctx context.Context, as *AncestorSpec)
:
(*Commit, error)
ResolveRootValue
(ctx context.Context)
:
(*RootValue, error)
*DoltDB
NewPendingCommit
( ctx context.Context, roots Roots, mergeParentCommits []*Commit, cm *datas.CommitMeta, )
:
(*PendingCommit, error)
All occurrences
Please wait...
Page is in error, reload to recover