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

Method SetCommitHash

ent/gitcommit_create.go:57–60  ·  view source on GitHub ↗

SetCommitHash sets the "commit_hash" field.

(s string)

Source from the content-addressed store, hash-verified

55
56// SetCommitHash sets the "commit_hash" field.
57func (gcc *GitCommitCreate) SetCommitHash(s string) *GitCommitCreate {
58 gcc.mutation.SetCommitHash(s)
59 return gcc
60}
61
62// SetBranchName sets the "branch_name" field.
63func (gcc *GitCommitCreate) SetBranchName(s string) *GitCommitCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected