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

Method Location

coderd/schedule/cron/cron.go:166–168  ·  view source on GitHub ↗

Location returns the IANA location for the schedule.

()

Source from the content-addressed store, hash-verified

164
165// Location returns the IANA location for the schedule.
166func (s Schedule) Location() *time.Location {
167 return s.sched.Location
168}
169
170// Cron returns the cron spec for the schedule with the leading CRON_TZ
171// stripped, if present.

Callers 15

HumanizeMethod · 0.95
TestExternalAuthCallbackFunction · 0.80
TestUserOAuth2GithubFunction · 0.80
TestUserOIDCFunction · 0.80
TestMCPServerOAuth2PKCEFunction · 0.80
insightsTemplatesMethod · 0.80
stripTimeFunction · 0.80
TestAPIKeyFunction · 0.80
StartOfDayFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestExternalAuthCallbackFunction · 0.64
TestUserOAuth2GithubFunction · 0.64
TestUserOIDCFunction · 0.64
TestMCPServerOAuth2PKCEFunction · 0.64
stripTimeFunction · 0.64
TestAPIKeyFunction · 0.64
Test_ResolveRequestFunction · 0.64
clockTimeFunction · 0.64
TestFindWeekFunction · 0.64
Test_WeeklyFunction · 0.64