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

Method SetCommitHash

ent/gitcommit_create.go:386–389  ·  view source on GitHub ↗

SetCommitHash sets the "commit_hash" field.

(v string)

Source from the content-addressed store, hash-verified

384
385// SetCommitHash sets the "commit_hash" field.
386func (u *GitCommitUpsert) SetCommitHash(v string) *GitCommitUpsert {
387 u.Set(gitcommit.FieldCommitHash, v)
388 return u
389}
390
391// UpdateCommitHash sets the "commit_hash" field to the value that was provided on create.
392func (u *GitCommitUpsert) UpdateCommitHash() *GitCommitUpsert {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected