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

Method SetCommitTimestamp

ent/gitcommit_create.go:621–625  ·  view source on GitHub ↗

SetCommitTimestamp sets the "commit_timestamp" field.

(v time.Time)

Source from the content-addressed store, hash-verified

619
620// SetCommitTimestamp sets the "commit_timestamp" field.
621func (u *GitCommitUpsertOne) SetCommitTimestamp(v time.Time) *GitCommitUpsertOne {
622 return u.Update(func(s *GitCommitUpsert) {
623 s.SetCommitTimestamp(v)
624 })
625}
626
627// UpdateCommitTimestamp sets the "commit_timestamp" field to the value that was provided on create.
628func (u *GitCommitUpsertOne) UpdateCommitTimestamp() *GitCommitUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected