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

Method UpdateCommitHash

ent/gitcommit_create.go:392–395  ·  view source on GitHub ↗

UpdateCommitHash sets the "commit_hash" field to the value that was provided on create.

()

Source from the content-addressed store, hash-verified

390
391// UpdateCommitHash sets the "commit_hash" field to the value that was provided on create.
392func (u *GitCommitUpsert) UpdateCommitHash() *GitCommitUpsert {
393 u.SetExcluded(gitcommit.FieldCommitHash)
394 return u
395}
396
397// SetBranchName sets the "branch_name" field.
398func (u *GitCommitUpsert) SetBranchName(v string) *GitCommitUpsert {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected