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

Method SetCommitHash

ent/gitcommit_update.go:372–375  ·  view source on GitHub ↗

SetCommitHash sets the "commit_hash" field.

(s string)

Source from the content-addressed store, hash-verified

370
371// SetCommitHash sets the "commit_hash" field.
372func (gcuo *GitCommitUpdateOne) SetCommitHash(s string) *GitCommitUpdateOne {
373 gcuo.mutation.SetCommitHash(s)
374 return gcuo
375}
376
377// SetNillableCommitHash sets the "commit_hash" field if the given value is not nil.
378func (gcuo *GitCommitUpdateOne) SetNillableCommitHash(s *string) *GitCommitUpdateOne {

Callers 1

SetNillableCommitHashMethod · 0.95

Calls 1

SetCommitHashMethod · 0.45

Tested by

no test coverage detected