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

Method IsZero

coderd/httpmw/apikey.go:123–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121}
122
123func (c *OAuth2Configs) IsZero() bool {
124 if c == nil {
125 return true
126 }
127 return c.Github == nil && c.OIDC == nil
128}
129
130const (
131 SignedOutErrorMessage = "You are signed out or your session has expired. Please sign in again to continue."

Calls

no outgoing calls

Tested by 14

TestWebhookFunction · 0.36
assertRunMatchesFunction · 0.36
TestGenerateFunction · 0.36
TestGithubRateLimitsFunction · 0.36
TestGitLabIntegrationFunction · 0.36