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
3bbc0e65
ROOT
/
go
/
libraries
/
doltcore
/
doltdb
/
hooksdatabase.go
Search
History
130 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
hooksDatabase
datas.Database
postCommitHooks
:
[]CommitHook
SetCommitHooks
(ctx context.Context, postHooks []CommitHook)
:
hooksDatabase
SetCommitHookLogger
(ctx context.Context, wr io.Writer)
:
hooksDatabase
PostCommitHooks
()
:
[]CommitHook
ExecuteCommitHooks
(ctx context.Context, ds datas.Dataset, onlyWS bool)
CommitWithWorkingSet
( ctx context.Context, commitDS, workingSetDS datas.Dataset, val types.Value, workingSetSpec datas.WorkingSetSpec, prevWsHash hash.Hash, opts datas.CommitOptions, )
:
(datas.Dataset, datas.Dataset, error)
Commit
(ctx context.Context, ds datas.Dataset, v types.Value, opts datas.CommitOptions)
:
(datas.Dataset, error)
SetHead
(ctx context.Context, ds datas.Dataset, newHeadAddr hash.Hash)
:
(datas.Dataset, error)
FastForward
(ctx context.Context, ds datas.Dataset, newHeadAddr hash.Hash)
:
(datas.Dataset, error)
Delete
(ctx context.Context, ds datas.Dataset)
:
(datas.Dataset, error)
UpdateWorkingSet
(ctx context.Context, ds datas.Dataset, workingSet datas.WorkingSetSpec, prevHash hash.Hash)
:
(datas.Dataset, error)
CommitHook
Execute
(ctx context.Context, ds datas.Dataset, db datas.Database)
:
error
HandleError
(ctx context.Context, err error)
:
error
SetLogger
(ctx context.Context, wr io.Writer)
:
error
ExecuteForWorkingSets
()
:
bool
All occurrences
Please wait...
Page is in error, reload to recover