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

Method Client

app/controlplane/pkg/data/ent/mutation.go:3972–3976  ·  view source on GitHub ↗

Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.

()

Source from the content-addressed store, hash-verified

3970// Client returns a new `ent.Client` from the mutation. If the mutation was
3971// executed in a transaction (ent.Tx), a transactional client is returned.
3972func (m GroupMutation) Client() *Client {
3973 client := &Client{config: m.config}
3974 client.init()
3975 return client
3976}
3977
3978// Tx returns an `ent.Tx` for mutations that were executed in transactions;
3979// it returns an error otherwise.

Callers 1

IDsMethod · 0.95

Calls 1

initMethod · 0.95

Tested by

no test coverage detected