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
/
valuefile
/
file_value_store.go
Search
History
261 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
chunks.ChunkStore
_
:
types.ValueReadWriter
FileValueStore
nbf
:
*types.NomsBinFormat
valLock
:
*sync.Mutex
values
:
map[hash.Hash]types.Value
rootHash
:
hash.Hash
chunkLock
:
*sync.Mutex
chunks
:
map[hash.Hash][]byte
NewFileValueStore
(nbf *types.NomsBinFormat)
:
(*FileValueStore, error)
*FileValueStore
Format
()
:
*types.NomsBinFormat
ReadValue
(ctx context.Context, h hash.Hash)
:
(types.Value, error)
ReadManyValues
(ctx context.Context, hashes hash.HashSlice)
:
(types.ValueSlice, error)
WriteValue
(ctx context.Context, v types.Value)
:
(types.Ref, error)
Get
(ctx context.Context, h hash.Hash)
:
(chunks.Chunk, error)
GetMany
(ctx context.Context, hashes hash.HashSet, found func(context.Context, *chunks.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 chunks.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
Close
()
:
error
numChunks
()
:
int
iterChunks
(cb func(ch chunks.Chunk) error)
:
error
All occurrences
Please wait...
Page is in error, reload to recover