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
9becfc9d
ROOT
/
go
/
store
/
datas
/
database.go
Search
History
185 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
DatasetsMap
Len
()
:
(uint64, error)
IterAll
(ctx context.Context, cb func(id string, addr hash.Hash) error)
:
error
Database
io.Closer
Datasets
(ctx context.Context)
:
(DatasetsMap, error)
GetDataset
(ctx context.Context, datasetID string)
:
(Dataset, error)
GetDatasetsByRootHash
(ctx context.Context, rootHash hash.Hash)
:
(DatasetsMap, error)
Commit
(ctx context.Context, ds Dataset, v types.Value, opts CommitOptions)
:
(Dataset, error)
Tag
(ctx context.Context, ds Dataset, commitAddr hash.Hash, opts TagOptions)
:
(Dataset, error)
UpdateWorkingSet
(ctx context.Context, ds Dataset, workingSet WorkingSetSpec, prevHash hash.Hash)
:
(Dataset, error)
CommitWithWorkingSet
(ctx context.Context, commitDS, workingSetDS Dataset, val types.Value, workingSetSpec WorkingSetSpec, prevWsHash hash.Hash, opts CommitOptions)
:
(Dataset, Dataset, error)
Delete
(ctx context.Context, ds Dataset)
:
(Dataset, error)
SetHead
(ctx context.Context, ds Dataset, newHeadAddr hash.Hash)
:
(Dataset, error)
FastForward
(ctx context.Context, ds Dataset, newHeadAddr hash.Hash)
:
(Dataset, error)
Stats
()
:
interface{}
StatsSummary
()
:
string
Format
()
:
*types.NomsBinFormat
chunkStore
()
:
chunks.ChunkStore
NewDatabase
(cs chunks.ChunkStore)
:
Database
NewTypesDatabase
(vs *types.ValueStore, ns tree.NodeStore)
:
Database
GarbageCollector
types.ValueReadWriter
GC
(ctx context.Context, oldGenRefs, newGenRefs hash.HashSet)
:
error
CanUsePuller
(db Database)
:
bool
GetCSStatSummaryForDB
(db Database)
:
string
ChunkStoreFromDatabase
(db Database)
:
chunks.ChunkStore
All occurrences
Please wait...
Page is in error, reload to recover