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

Function ByCommitHash

ent/gitcommit/gitcommit.go:106–108  ·  view source on GitHub ↗

ByCommitHash orders the results by the commit_hash field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

104
105// ByCommitHash orders the results by the commit_hash field.
106func ByCommitHash(opts ...sql.OrderTermOption) OrderOption {
107 return sql.OrderByField(FieldCommitHash, opts...).ToFunc()
108}
109
110// ByBranchName orders the results by the branch_name field.
111func ByBranchName(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected