MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / SetUpdatedAt

Method SetUpdatedAt

pkg/database/ent/mutation.go:10375–10377  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

10373
10374// SetUpdatedAt sets the "updated_at" field.
10375func (m *MetaMutation) SetUpdatedAt(t time.Time) {
10376 m.updated_at = &t
10377}
10378
10379// UpdatedAt returns the value of the "updated_at" field in the mutation.
10380func (m *MetaMutation) UpdatedAt() (r time.Time, exists bool) {

Callers 4

SetFieldMethod · 0.95
TestAPICSendMetricsFunction · 0.45
TestAPICGetMetricsFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestAPICSendMetricsFunction · 0.36
TestAPICGetMetricsFunction · 0.36