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

Method SetCommitTimestamp

ent/gitcommit_create.go:986–990  ·  view source on GitHub ↗

SetCommitTimestamp sets the "commit_timestamp" field.

(v time.Time)

Source from the content-addressed store, hash-verified

984
985// SetCommitTimestamp sets the "commit_timestamp" field.
986func (u *GitCommitUpsertBulk) SetCommitTimestamp(v time.Time) *GitCommitUpsertBulk {
987 return u.Update(func(s *GitCommitUpsert) {
988 s.SetCommitTimestamp(v)
989 })
990}
991
992// UpdateCommitTimestamp sets the "commit_timestamp" field to the value that was provided on create.
993func (u *GitCommitUpsertBulk) UpdateCommitTimestamp() *GitCommitUpsertBulk {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected