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

Method StateFetch

db/sql/sql.go:1149–1151  ·  view source on GitHub ↗
(s *schema.Schema, filter transaction.Filter)

Source from the content-addressed store, hash-verified

1147}
1148
1149func (tx *Transaction) StateFetch(s *schema.Schema, filter transaction.Filter) (state transaction.ResourceState, err error) {
1150 return tx.StateFetchContext(context.Background(), s, filter)
1151}
1152
1153//StateFetch fetches the state of the specified resource
1154func (tx *Transaction) StateFetchContext(ctx context.Context, s *schema.Schema, filter transaction.Filter) (state transaction.ResourceState, err error) {

Callers

nothing calls this directly

Calls 1

StateFetchContextMethod · 0.95

Tested by

no test coverage detected