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

Function ByCommitTimestamp

ent/gitcommit/gitcommit.go:126–128  ·  view source on GitHub ↗

ByCommitTimestamp orders the results by the commit_timestamp field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

124
125// ByCommitTimestamp orders the results by the commit_timestamp field.
126func ByCommitTimestamp(opts ...sql.OrderTermOption) OrderOption {
127 return sql.OrderByField(FieldCommitTimestamp, opts...).ToFunc()
128}
129
130// ByAuthor orders the results by the author field.
131func ByAuthor(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected