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

Method IDsX

ent/gitcommit_query.go:221–227  ·  view source on GitHub ↗

IDsX is like IDs, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

219
220// IDsX is like IDs, but panics if an error occurs.
221func (gcq *GitCommitQuery) IDsX(ctx context.Context) []uuid.UUID {
222 ids, err := gcq.IDs(ctx)
223 if err != nil {
224 panic(err)
225 }
226 return ids
227}
228
229// Count returns the count of the given query.
230func (gcq *GitCommitQuery) Count(ctx context.Context) (int, error) {

Callers

nothing calls this directly

Calls 1

IDsMethod · 0.95

Tested by

no test coverage detected