MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / doCheck

Method doCheck

kayak/callbacks.go:27–34  ·  view source on GitHub ↗
(ctx context.Context, req interface{})

Source from the content-addressed store, hash-verified

25)
26
27func (r *Runtime) doCheck(ctx context.Context, req interface{}) (err error) {
28 defer trace.StartRegion(ctx, "checkCallback").End()
29 if err = r.sh.Check(req); err != nil {
30 err = errors.Wrap(err, "verify log")
31 }
32
33 return
34}
35
36func (r *Runtime) doEncodePayload(ctx context.Context, req interface{}) (enc []byte, err error) {
37 defer trace.StartRegion(ctx, "encodePayloadCallback").End()

Callers 2

doLeaderPrepareMethod · 0.95
followerPrepareMethod · 0.95

Calls 3

StartRegionFunction · 0.92
CheckMethod · 0.65
EndMethod · 0.45

Tested by

no test coverage detected