MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / SetTimestamp

Method SetTimestamp

ent/gitcommit_update.go:462–465  ·  view source on GitHub ↗

SetTimestamp sets the "timestamp" field.

(t time.Time)

Source from the content-addressed store, hash-verified

460
461// SetTimestamp sets the "timestamp" field.
462func (gcuo *GitCommitUpdateOne) SetTimestamp(t time.Time) *GitCommitUpdateOne {
463 gcuo.mutation.SetTimestamp(t)
464 return gcuo
465}
466
467// SetNillableTimestamp sets the "timestamp" field if the given value is not nil.
468func (gcuo *GitCommitUpdateOne) SetNillableTimestamp(t *time.Time) *GitCommitUpdateOne {

Callers 1

SetNillableTimestampMethod · 0.95

Calls 1

SetTimestampMethod · 0.45

Tested by

no test coverage detected