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

Function SetExitStatus

cmd/cql/internal/base.go:135–141  ·  view source on GitHub ↗

SetExitStatus provide thread safe set exit status func.

(n int)

Source from the content-addressed store, hash-verified

133
134// SetExitStatus provide thread safe set exit status func.
135func SetExitStatus(n int) {
136 exitMu.Lock()
137 if exitStatus < n {
138 exitStatus = n
139 }
140 exitMu.Unlock()
141}

Callers 15

mainFunction · 0.92
runHelpFunction · 0.85
runFunction · 0.85
runConsoleFunction · 0.85
configInitFunction · 0.85
bgServerInitFunction · 0.85
readMasterKeyFunction · 0.85
getPublicFromConfigFunction · 0.85
showTokenBalanceFunction · 0.85
showAllTokenBalanceFunction · 0.85
showDatabaseDepositFunction · 0.85
showAllDatabaseDepositFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected