MCPcopy
hub / github.com/uber-go/nilaway / SetNeedsGuard

Method SetNeedsGuard

annotation/produce_trigger.go:54–54  ·  view source on GitHub ↗

SetNeedsGuard sets the underlying Guard-Neediness of this ProduceTrigger, if present This should be very sparingly used, and only with utter conviction of correctness. Default setting for ProduceTriggers is to not need a guard.

(bool)

Source from the content-addressed store, hash-verified

52 // This should be very sparingly used, and only with utter conviction of correctness.
53 // Default setting for ProduceTriggers is to not need a guard.
54 SetNeedsGuard(bool)
55
56 Prestring() Prestring
57

Callers 4

AddComputationMethod · 0.65
addReturnConsumersFunction · 0.65
backpropAcrossAssignmentFunction · 0.65
backpropAcrossRangeFunction · 0.65

Implementers 5

TriggerIfNilableannotation/produce_trigger.go
TriggerIfDeepNilableannotation/produce_trigger.go
ProduceTriggerTautologyannotation/produce_trigger.go
ProduceTriggerNeverannotation/produce_trigger.go
mockProducingAnnotationTriggerannotation/helper_test.go

Calls

no outgoing calls

Tested by

no test coverage detected