MCPcopy Create free account
hub / github.com/devfile/api / Visit

Method Visit

pkg/apis/workspaces/v1alpha1/union_definitions.go:95–97  ·  view source on GitHub ↗
(visitor CommandVisitor)

Source from the content-addressed store, hash-verified

93var commandVisitorType reflect.Type = reflect.TypeOf(CommandVisitor{})
94
95func (union Command) Visit(visitor CommandVisitor) error {
96 return visitUnion(union, visitor)
97}
98func (union *Command) discriminator() *string {
99 return (*string)(&union.CommandType)
100}

Callers 2

KeyMethod · 0.95
KeyMethod · 0.45

Calls 1

visitUnionFunction · 0.70

Tested by

no test coverage detected