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

Method Update

app/controlplane/pkg/data/ent/casbackend.go:250–252  ·  view source on GitHub ↗

Update returns a builder for updating this CASBackend. Note that you need to call CASBackend.Unwrap() before calling this method if this CASBackend was returned from a transaction, and the transaction was committed or rolled back.

()

Source from the content-addressed store, hash-verified

248// Note that you need to call CASBackend.Unwrap() before calling this method if this CASBackend
249// was returned from a transaction, and the transaction was committed or rolled back.
250func (_m *CASBackend) Update() *CASBackendUpdateOne {
251 return NewCASBackendClient(_m.config).UpdateOne(_m)
252}
253
254// Unwrap unwraps the CASBackend entity that was returned from a transaction after it was closed,
255// so that all future queries will be executed through the driver which created the transaction.

Callers

nothing calls this directly

Calls 2

NewCASBackendClientFunction · 0.85
UpdateOneMethod · 0.45

Tested by

no test coverage detected