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
v0.50.7
ROOT
/
go
/
store
/
datas
/
pull
/
pull.go
Search
History
237 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
PullProgress
DoneCount
:
uint64
KnownCount
:
uint64
ApproxWrittenBytes
:
uint64
bytesWrittenSampleRate
defaultBatchSize
ErrNoData
makeProgTrack
(progressCh chan PullProgress)
:
func(moreDone, moreKnown, moreApproxBytesWritten uint64)
Pull
(ctx context.Context, srcCS, sinkCS chunks.ChunkStore, walkAddrs WalkAddrs, sourceHash hash.Hash, progressCh chan PullProgress)
:
error
pull
(ctx context.Context, srcCS, sinkCS chunks.ChunkStore, walkAddrs WalkAddrs, sourceHash hash.Hash, progressCh chan PullProgress, batchSize int)
:
error
persistChunks
(ctx context.Context, cs chunks.ChunkStore)
:
error
PullWithoutBatching
(ctx context.Context, srcCS, sinkCS chunks.ChunkStore, walkAddrs WalkAddrs, sourceHash hash.Hash, progressCh chan PullProgress)
:
error
getChunks
(ctx context.Context, srcCS chunks.ChunkStore, batch hash.HashSlice, sampleSize uint64, sampleCount uint64, updateProgress func(moreDone uint64, moreKnown uint64, moreApproxBytesWritten uint64))
:
(map[hash.Hash]*chunks.Chunk, error)
WalkAddrs
putChunks
(ctx context.Context, wah WalkAddrs, sinkCS chunks.ChunkStore, hashes hash.HashSlice, neededChunks map[hash.Hash]*chunks.Chunk, nextLevel hash.HashSet, uniqueOrdered hash.HashSlice)
:
(hash.HashSlice, error)
nextLevelMissingChunks
(ctx context.Context, sinkCS chunks.ChunkStore, nextLevel hash.HashSet, absent hash.HashSlice, uniqueOrdered hash.HashSlice)
:
(hash.HashSlice, error)
All occurrences
Please wait...
Page is in error, reload to recover