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

Method Entitled

codersdk/deployment.go:42–44  ·  view source on GitHub ↗

Entitled returns if the entitlement can be used. So this is true if it is entitled or still in it's grace period.

()

Source from the content-addressed store, hash-verified

40// Entitled returns if the entitlement can be used. So this is true if it
41// is entitled or still in it's grace period.
42func (e Entitlement) Entitled() bool {
43 return e == EntitlementEntitled || e == EntitlementGracePeriod
44}
45
46// Weight converts the enum types to a numerical value for easier
47// comparisons. Easier than sets of if statements.

Callers 2

LicensesEntitlementsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected