MCPcopy Create free account
hub / github.com/cloudwan/gohan / StateUpdate

Method StateUpdate

db/sql/sql.go:703–705  ·  view source on GitHub ↗
(resource *schema.Resource, state *transaction.ResourceState)

Source from the content-addressed store, hash-verified

701}
702
703func (tx *Transaction) StateUpdate(resource *schema.Resource, state *transaction.ResourceState) error {
704 return tx.StateUpdateContext(context.Background(), resource, state)
705}
706
707//StateUpdate update resource state
708func (tx *Transaction) StateUpdateContext(ctx context.Context, resource *schema.Resource, state *transaction.ResourceState) error {

Callers

nothing calls this directly

Calls 1

StateUpdateContextMethod · 0.95

Tested by

no test coverage detected