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

Method setHead

sqlchain/runtime.go:343–347  ·  view source on GitHub ↗
(head *state)

Source from the content-addressed store, hash-verified

341}
342
343func (r *runtime) setHead(head *state) {
344 r.stateMutex.Lock()
345 defer r.stateMutex.Unlock()
346 r.head = head
347}
348
349func (r *runtime) goFunc(f func(context.Context)) {
350 r.wg.Add(1)

Callers 2

NewChainWithContextFunction · 0.80
pushBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected