MCPcopy Create free account
hub / github.com/jetkvm/kvm / rpcGetAutoUpdateState

Function rpcGetAutoUpdateState

jsonrpc.go:218–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216}
217
218func rpcGetAutoUpdateState() (bool, error) {
219 return config.AutoUpdateEnabled, nil
220}
221
222func rpcSetAutoUpdateState(enabled bool) (bool, error) {
223 config.AutoUpdateEnabled = enabled

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected