MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / validStatus

Function validStatus

internal/serverapi/users.go:681–688  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

679}
680
681func validStatus(value string) bool {
682 switch value {
683 case users.StatusActive, users.StatusDisabled, users.StatusOnHold:
684 return true
685 default:
686 return false
687 }
688}
689
690func validResetStrategy(value string) bool {
691 switch value {

Callers 1

handleUpdateUserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected