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

Method SetCommitTimestamp

ent/gitcommit_create.go:434–437  ·  view source on GitHub ↗

SetCommitTimestamp sets the "commit_timestamp" field.

(v time.Time)

Source from the content-addressed store, hash-verified

432
433// SetCommitTimestamp sets the "commit_timestamp" field.
434func (u *GitCommitUpsert) SetCommitTimestamp(v time.Time) *GitCommitUpsert {
435 u.Set(gitcommit.FieldCommitTimestamp, v)
436 return u
437}
438
439// UpdateCommitTimestamp sets the "commit_timestamp" field to the value that was provided on create.
440func (u *GitCommitUpsert) UpdateCommitTimestamp() *GitCommitUpsert {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected