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

Function dbnow

coderd/cryptokeys/rotate_internal_test.go:577–579  ·  view source on GitHub ↗
(c quartz.Clock)

Source from the content-addressed store, hash-verified

575}
576
577func dbnow(c quartz.Clock) time.Time {
578 return dbtime.Time(c.Now().UTC())
579}
580
581func requireKey(t *testing.T, key database.CryptoKey, feature database.CryptoKeyFeature, startsAt time.Time, deletesAt sql.NullTime, sequence int32) {
582 t.Helper()

Callers 1

Test_rotateKeysFunction · 0.85

Calls 1

TimeFunction · 0.92

Tested by

no test coverage detected