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

Method Update

app/controlplane/pkg/data/ent/casmapping.go:189–191  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

187// Note that you need to call CASMapping.Unwrap() before calling this method if this CASMapping
188// was returned from a transaction, and the transaction was committed or rolled back.
189func (_m *CASMapping) Update() *CASMappingUpdateOne {
190 return NewCASMappingClient(_m.config).UpdateOne(_m)
191}
192
193// Unwrap unwraps the CASMapping entity that was returned from a transaction after it was closed,
194// so that all future queries will be executed through the driver which created the transaction.

Callers

nothing calls this directly

Calls 2

NewCASMappingClientFunction · 0.85
UpdateOneMethod · 0.45

Tested by

no test coverage detected