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

Method SetNillableRepoName

ent/gitcommit_update.go:406–411  ·  view source on GitHub ↗

SetNillableRepoName sets the "repo_name" field if the given value is not nil.

(s *string)

Source from the content-addressed store, hash-verified

404
405// SetNillableRepoName sets the "repo_name" field if the given value is not nil.
406func (gcuo *GitCommitUpdateOne) SetNillableRepoName(s *string) *GitCommitUpdateOne {
407 if s != nil {
408 gcuo.SetRepoName(*s)
409 }
410 return gcuo
411}
412
413// SetCommitMessage sets the "commit_message" field.
414func (gcuo *GitCommitUpdateOne) SetCommitMessage(s string) *GitCommitUpdateOne {

Callers

nothing calls this directly

Calls 1

SetRepoNameMethod · 0.95

Tested by

no test coverage detected