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

Method Client

app/controlplane/pkg/data/ent/mutation.go:10944–10948  ·  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

10942// Client returns a new `ent.Client` from the mutation. If the mutation was
10943// executed in a transaction (ent.Tx), a transactional client is returned.
10944func (m ProjectMutation) Client() *Client {
10945 client := &Client{config: m.config}
10946 client.init()
10947 return client
10948}
10949
10950// Tx returns an `ent.Tx` for mutations that were executed in transactions;
10951// it returns an error otherwise.

Callers 1

IDsMethod · 0.95

Calls 1

initMethod · 0.95

Tested by

no test coverage detected