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.6
ROOT
/
go
/
store
/
chunks
/
chunk_store.go
Search
History
129 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrNothingToCollect
ChunkStore
Get
(ctx context.Context, h hash.Hash)
:
(Chunk, error)
GetMany
(ctx context.Context, hashes hash.HashSet, found func(context.Context, *Chunk))
:
error
Has
(ctx context.Context, h hash.Hash)
:
(bool, error)
HasMany
(ctx context.Context, hashes hash.HashSet)
:
(absent hash.HashSet, err error)
Put
(ctx context.Context, c Chunk)
:
error
Version
()
:
string
Rebase
(ctx context.Context)
:
error
Root
(ctx context.Context)
:
(hash.Hash, error)
Commit
(ctx context.Context, current, last hash.Hash)
:
(bool, error)
Stats
()
:
interface{}
StatsSummary
()
:
string
io.Closer
DebugLogger
Logf
(fmt string, args ...interface{})
LoggingChunkStore
ChunkStore
SetLogger
(logger DebugLogger)
ChunkStoreGarbageCollector
ChunkStore
MarkAndSweepChunks
(ctx context.Context, last hash.Hash, keepChunks <-chan []hash.Hash, dest ChunkStore)
:
error
PrefixChunkStore
ChunkStore
ResolveShortHash
(ctx context.Context, short []byte)
:
(hash.Hash, error)
GenerationalCS
NewGen
()
:
ChunkStoreGarbageCollector
OldGen
()
:
ChunkStoreGarbageCollector
ErrUnsupportedOperation
ErrGCGenerationExpired
All occurrences
Please wait...
Page is in error, reload to recover