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

Method Set

coderd/schedule/mock.go:49–55  ·  view source on GitHub ↗
(ctx context.Context, db database.Store, userID uuid.UUID, schedule string)

Source from the content-addressed store, hash-verified

47}
48
49func (m MockUserQuietHoursScheduleStore) Set(ctx context.Context, db database.Store, userID uuid.UUID, schedule string) (UserQuietHoursScheduleOptions, error) {
50 if m.SetFn != nil {
51 return m.SetFn(ctx, db, userID, schedule)
52 }
53
54 return NewAGPLUserQuietHoursScheduleStore().Set(ctx, db, userID, schedule)
55}

Callers

nothing calls this directly

Calls 2

SetMethod · 0.65

Tested by

no test coverage detected