(s *schema.Schema, filter transaction.Filter, lockPolicy schema.LockPolicy, options *transaction.ViewOptions)
| 1125 | } |
| 1126 | |
| 1127 | func (tx *Transaction) LockFetch(s *schema.Schema, filter transaction.Filter, lockPolicy schema.LockPolicy, options *transaction.ViewOptions) (*schema.Resource, error) { |
| 1128 | return tx.LockFetchContext(context.Background(), s, filter, lockPolicy, options) |
| 1129 | } |
| 1130 | |
| 1131 | // LockFetch fetches & locks a resource |
| 1132 | func (tx *Transaction) LockFetchContext(ctx context.Context, s *schema.Schema, filter transaction.Filter, lockPolicy schema.LockPolicy, options *transaction.ViewOptions) (*schema.Resource, error) { |
nothing calls this directly
no test coverage detected