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

Method SetTimestamp

ent/gitcommit_create.go:656–660  ·  view source on GitHub ↗

SetTimestamp sets the "timestamp" field.

(v time.Time)

Source from the content-addressed store, hash-verified

654
655// SetTimestamp sets the "timestamp" field.
656func (u *GitCommitUpsertOne) SetTimestamp(v time.Time) *GitCommitUpsertOne {
657 return u.Update(func(s *GitCommitUpsert) {
658 s.SetTimestamp(v)
659 })
660}
661
662// UpdateTimestamp sets the "timestamp" field to the value that was provided on create.
663func (u *GitCommitUpsertOne) UpdateTimestamp() *GitCommitUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected