MCPcopy Create free account
hub / github.com/dagger/dagger / ModuleEnum

Struct ModuleEnum

core/enum.go:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130type ModuleEnum struct {
131 TypeDef *EnumTypeDef
132 Name string
133
134 // Local marks this enum value as local to the module that declares its
135 // typedef. This is so that when converting it to/from it's own module we
136 // can use its OriginalName, but when converting it for other modules, we
137 // use the declared Name.
138 Local bool
139}
140
141func (e *ModuleEnum) TypeName() string {
142 return e.TypeDef.Name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected