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
/
store
/
types
/
value_store.go
Search
History
851 lines
|
ISO-8859-1
|
21 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
HashFilterFunc
unfilteredHashFunc
(_ context.Context, hs hash.HashSet)
:
(hash.HashSet, error)
ValueReader
Format
()
:
*NomsBinFormat
ReadValue
(ctx context.Context, h hash.Hash)
:
(Value, error)
ReadManyValues
(ctx context.Context, hashes hash.HashSlice)
:
(ValueSlice, error)
ValueWriter
WriteValue
(ctx context.Context, v Value)
:
(Ref, error)
ValueReadWriter
ValueReader
ValueWriter
ValueStore
cs
:
chunks.ChunkStore
bufferMu
:
sync.RWMutex
bufferedChunks
:
map[hash.Hash]chunks.Chunk
bufferedChunksMax
:
uint64
bufferedChunkSize
:
uint64
withBufferedChildren
:
map[hash.Hash]uint64
unresolvedRefs
:
hash.HashSet
enforceCompleteness
:
bool
validateContentAddr
:
bool
decodedChunks
:
*sizecache.SizeCache
nbf
:
*NomsBinFormat
versOnce
:
sync.Once
PanicIfDangling
(ctx context.Context, unresolved hash.HashSet, cs chunks.ChunkStore)
defaultDecodedChunksSize
defaultPendingPutMax
gcBuffSize
newTestValueStore
()
:
*ValueStore
newTestValueStore_7_18
()
:
*ValueStore
NewMemoryValueStore
()
:
*ValueStore
NewValueStore
(cs chunks.ChunkStore)
:
*ValueStore
newValueStoreWithCacheAndPending
(cs chunks.ChunkStore, cacheSize, pendingMax uint64)
:
*ValueStore
makeBatches
(hss []hash.HashSet, count int)
:
[][]hash.Hash
validateContentAddress
(nbf *NomsBinFormat, h hash.Hash, v Value)
:
(err error)
*ValueStore
expectVersion
()
SetEnforceCompleteness
(enforce bool)
SetValidateContentAddresses
(validate bool)
ChunkStore
()
:
chunks.ChunkStore
Format
()
:
*NomsBinFormat
ReadValue
(ctx context.Context, h hash.Hash)
:
(Value, error)
ReadManyValues
(ctx context.Context, hashes hash.HashSlice)
:
(ValueSlice, error)
WriteValue
(ctx context.Context, v Value)
:
(Ref, error)
bufferChunk
(ctx context.Context, v Value, c chunks.Chunk, height uint64)
:
error
Root
(ctx context.Context)
:
(hash.Hash, error)
Rebase
(ctx context.Context)
:
error
Flush
(ctx context.Context)
:
error
flush
(ctx context.Context, current hash.Hash)
:
error
Commit
(ctx context.Context, current, last hash.Hash)
:
(bool, error)
numBuffChunks
()
:
int
GC
(ctx context.Context, oldGenRefs, newGenRefs hash.HashSet)
:
error
gc
(ctx context.Context, root hash.Hash, toVisit hash.HashSet, hashFilter HashFilterFunc, src, dest chunks.ChunkStoreGarbageCollector)
:
error
gcProcessRefs
(ctx context.Context, visited hash.HashSet, toVisit []hash.HashSet, keepHashes func(hs []hash.Hash) error, walker *parallelRefWalker, hashFilter HashFilterFunc)
:
error
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover