MCPcopy Index your code
hub / github.com/coder/coder / IncrementExecutionCount

Function IncrementExecutionCount

coderd/database/db.go:96–98  ·  view source on GitHub ↗

IncrementExecutionCount is a helper function for external packages to increment the unexported count.

(opts *TxOptions)

Source from the content-addressed store, hash-verified

94// IncrementExecutionCount is a helper function for external packages
95// to increment the unexported count.
96func IncrementExecutionCount(opts *TxOptions) {
97 opts.executionCount++
98}
99
100func (o TxOptions) ExecutionCount() int {
101 return o.executionCount

Callers 1

TestInTxMetricsFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestInTxMetricsFunction · 0.74