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
/
libraries
/
doltcore
/
doltdb
/
commit_hooks.go
Search
History
300 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
PushOnWriteHook
destDB
:
datas.Database
tmpDir
:
string
out
:
io.Writer
fmt
:
*types.NomsBinFormat
_
:
CommitHook
NewPushOnWriteHook
(destDB *DoltDB, tmpDir string)
:
*PushOnWriteHook
pushDataset
(ctx context.Context, destDB, srcDB datas.Database, ds datas.Dataset, tmpDir string)
:
error
PushArg
ds
:
datas.Dataset
db
:
datas.Database
hash
:
hash.Hash
AsyncPushOnWriteHook
out
:
io.Writer
ch
:
chan PushArg
asyncPushBufferSize
asyncPushInterval
asyncPushProcessCommit
asyncPushSyncReplica
_
:
CommitHook
NewAsyncPushOnWriteHook
(bThreads *sql.BackgroundThreads, destDB *DoltDB, tmpDir string, logger io.Writer)
:
(*AsyncPushOnWriteHook, error)
LogHook
msg
:
[]byte
out
:
io.Writer
_
:
CommitHook
NewLogHook
(msg []byte)
:
*LogHook
RunAsyncReplicationThreads
(bThreads *sql.BackgroundThreads, ch chan PushArg, destDB *DoltDB, tmpDir string, logger io.Writer)
:
error
*PushOnWriteHook
Execute
(ctx context.Context, ds datas.Dataset, db datas.Database)
:
error
HandleError
(ctx context.Context, err error)
:
error
ExecuteForWorkingSets
()
:
bool
SetLogger
(ctx context.Context, wr io.Writer)
:
error
*AsyncPushOnWriteHook
ExecuteForWorkingSets
()
:
bool
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
*LogHook
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