MCPcopy
hub / github.com/dagger/dagger / HasMainFunction

Method HasMainFunction

cmd/dagger/module_inspect.go:584–586  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

582}
583
584func (m *moduleDef) HasMainFunction(name string) bool {
585 return m.GetMainFunction(name) != nil
586}
587
588// GetMainFunction returns a function from the main object. When entrypoint
589// proxying is active, MainObject is Query and all Query fields — entrypoint

Callers 3

lookupFieldMethod · 0.80
StateLookupMethod · 0.80

Calls 1

GetMainFunctionMethod · 0.95

Tested by

no test coverage detected