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

Method SetUpdateTime

ent/gitcommit_create.go:551–555  ·  view source on GitHub ↗

SetUpdateTime sets the "update_time" field.

(v time.Time)

Source from the content-addressed store, hash-verified

549
550// SetUpdateTime sets the "update_time" field.
551func (u *GitCommitUpsertOne) SetUpdateTime(v time.Time) *GitCommitUpsertOne {
552 return u.Update(func(s *GitCommitUpsert) {
553 s.SetUpdateTime(v)
554 })
555}
556
557// UpdateUpdateTime sets the "update_time" field to the value that was provided on create.
558func (u *GitCommitUpsertOne) UpdateUpdateTime() *GitCommitUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected