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

Method DaysMap

coderd/schedule/template.go:71–73  ·  view source on GitHub ↗

DaysMap returns a map of the days of the week that the workspace must be restarted.

()

Source from the content-addressed store, hash-verified

69// DaysMap returns a map of the days of the week that the workspace must be
70// restarted.
71func (r TemplateAutostopRequirement) DaysMap() map[time.Weekday]bool {
72 return daysMap(r.DaysOfWeek)
73}
74
75// daysMap returns a map of the days of the week that are specified in the
76// bitmap.

Callers 2

NextAutostartFunction · 0.45
CalculateAutostopFunction · 0.45

Calls 1

daysMapFunction · 0.85

Tested by

no test coverage detected