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

Method SetTimestamp

ent/gitcommit_update.go:131–134  ·  view source on GitHub ↗

SetTimestamp sets the "timestamp" field.

(t time.Time)

Source from the content-addressed store, hash-verified

129
130// SetTimestamp sets the "timestamp" field.
131func (gcu *GitCommitUpdate) SetTimestamp(t time.Time) *GitCommitUpdate {
132 gcu.mutation.SetTimestamp(t)
133 return gcu
134}
135
136// SetNillableTimestamp sets the "timestamp" field if the given value is not nil.
137func (gcu *GitCommitUpdate) SetNillableTimestamp(t *time.Time) *GitCommitUpdate {

Callers 2

SetNillableTimestampMethod · 0.95
SetTimestampMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected