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

Method SetCommitHash

ent/gitcommit_create.go:930–934  ·  view source on GitHub ↗

SetCommitHash sets the "commit_hash" field.

(v string)

Source from the content-addressed store, hash-verified

928
929// SetCommitHash sets the "commit_hash" field.
930func (u *GitCommitUpsertBulk) SetCommitHash(v string) *GitCommitUpsertBulk {
931 return u.Update(func(s *GitCommitUpsert) {
932 s.SetCommitHash(v)
933 })
934}
935
936// UpdateCommitHash sets the "commit_hash" field to the value that was provided on create.
937func (u *GitCommitUpsertBulk) UpdateCommitHash() *GitCommitUpsertBulk {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected