MCPcopy Create free account
hub / github.com/codnect/procyon / attachCondition

Method attachCondition

component/component.go:49–53  ·  view source on GitHub ↗

attachCondition attaches a condition to the component.

(cond Condition)

Source from the content-addressed store, hash-verified

47
48// attachCondition attaches a condition to the component.
49func (c *Component) attachCondition(cond Condition) {
50 if cond != nil {
51 c.conditions = append(c.conditions, cond)
52 }
53}
54
55// Definition returns the component's definition metadata.
56func (c *Component) Definition() *Definition {

Callers 1

ConditionalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected