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

Method SetCommitHash

ent/gitcommit_update.go:41–44  ·  view source on GitHub ↗

SetCommitHash sets the "commit_hash" field.

(s string)

Source from the content-addressed store, hash-verified

39
40// SetCommitHash sets the "commit_hash" field.
41func (gcu *GitCommitUpdate) SetCommitHash(s string) *GitCommitUpdate {
42 gcu.mutation.SetCommitHash(s)
43 return gcu
44}
45
46// SetNillableCommitHash sets the "commit_hash" field if the given value is not nil.
47func (gcu *GitCommitUpdate) SetNillableCommitHash(s *string) *GitCommitUpdate {

Callers 2

SetNillableCommitHashMethod · 0.95
SetCommitHashMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected