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_itr.go
Search
History
194 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
CommitItr
Next
(ctx context.Context)
:
(hash.Hash, *Commit, error)
Reset
(ctx context.Context)
:
error
commitItr
ddb
:
*DoltDB
rootCommits
:
[]*Commit
currentRoot
:
int
added
:
map[hash.Hash]bool
unprocessed
:
[]hash.Hash
curr
:
*Commit
CommitItrForAllBranches
(ctx context.Context, ddb *DoltDB)
:
(CommitItr, error)
CommitItrForRoots
(ddb *DoltDB, rootCommits ...*Commit)
:
CommitItr
hashToCommit
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, h hash.Hash)
:
(*Commit, error)
CommitFilter
FilteringCommitItr
itr
:
CommitItr
filter
:
CommitFilter
Next
(ctx context.Context)
:
(hash.Hash, *Commit, error)
Reset
(ctx context.Context)
:
error
AllCommits
(_ context.Context, _ hash.Hash, _ *Commit)
:
(filterOut bool, err error)
NewFilteringCommitItr
(itr CommitItr, filter CommitFilter)
:
FilteringCommitItr
*commitItr
Reset
(ctx context.Context)
:
error
Next
(ctx context.Context)
:
(hash.Hash, *Commit, error)
All occurrences
Please wait...
Page is in error, reload to recover