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

Function ByBranchName

ent/gitcommit/gitcommit.go:111–113  ·  view source on GitHub ↗

ByBranchName orders the results by the branch_name field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

109
110// ByBranchName orders the results by the branch_name field.
111func ByBranchName(opts ...sql.OrderTermOption) OrderOption {
112 return sql.OrderByField(FieldBranchName, opts...).ToFunc()
113}
114
115// ByRepoName orders the results by the repo_name field.
116func ByRepoName(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected