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
88ec14b1
ROOT
/
go
/
store
/
chunks
/
test_utils.go
Search
History
120 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TestStorage
MemoryStorage
TestStoreView
ChunkStore
reads
:
int32
hases
:
int32
writes
:
int32
_
:
ChunkStoreGarbageCollector
TestStoreFactory
stores
:
map[string]*TestStorage
NewTestStoreFactory
()
:
*TestStoreFactory
*TestStorage
NewView
()
:
*TestStoreView
*TestStoreView
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)
:
(hash.HashSet, error)
Put
(ctx context.Context, c Chunk)
:
error
MarkAndSweepChunks
(ctx context.Context, last hash.Hash, keepChunks <-chan []hash.Hash, dest ChunkStore)
:
error
Reads
()
:
int
Hases
()
:
int
Writes
()
:
int
*TestStoreFactory
CreateStore
(ns string)
:
ChunkStore
Shutter
()
All occurrences
Please wait...
Page is in error, reload to recover