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

Method UpdateCommitHash

ent/gitcommit_create.go:572–576  ·  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

570
571// UpdateCommitHash sets the "commit_hash" field to the value that was provided on create.
572func (u *GitCommitUpsertOne) UpdateCommitHash() *GitCommitUpsertOne {
573 return u.Update(func(s *GitCommitUpsert) {
574 s.UpdateCommitHash()
575 })
576}
577
578// SetBranchName sets the "branch_name" field.
579func (u *GitCommitUpsertOne) SetBranchName(v string) *GitCommitUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected