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

Method Visit

pkg/apis/workspaces/v1alpha1/union_definitions.go:182–184  ·  view source on GitHub ↗
(visitor ProjectSourceVisitor)

Source from the content-addressed store, hash-verified

180var projectSourceVisitorType reflect.Type = reflect.TypeOf(ProjectSourceVisitor{})
181
182func (union ProjectSource) Visit(visitor ProjectSourceVisitor) error {
183 return visitUnion(union, visitor)
184}
185func (union *ProjectSource) discriminator() *string {
186 return (*string)(&union.SourceType)
187}

Callers

nothing calls this directly

Calls 1

visitUnionFunction · 0.70

Tested by

no test coverage detected