MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / ExistX

Method ExistX

app/controlplane/pkg/data/ent/user_query.go:285–291  ·  view source on GitHub ↗

ExistX is like Exist, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

283
284// ExistX is like Exist, but panics if an error occurs.
285func (_q *UserQuery) ExistX(ctx context.Context) bool {
286 exist, err := _q.Exist(ctx)
287 if err != nil {
288 panic(err)
289 }
290 return exist
291}
292
293// Clone returns a duplicate of the UserQuery builder, including all associated steps. It can be
294// used to prepare common query builders and use them differently after the clone is made.

Callers

nothing calls this directly

Calls 1

ExistMethod · 0.95

Tested by

no test coverage detected