MCPcopy
hub / github.com/dagger/dagger / HasModule

Method HasModule

cmd/dagger/module_inspect.go:562–564  ·  view source on GitHub ↗

HasModule checks if a module's definitions are loaded

()

Source from the content-addressed store, hash-verified

560
561// HasModule checks if a module's definitions are loaded
562func (m *moduleDef) HasModule() bool {
563 return m.Name != ""
564}
565
566// ModuleConstructor returns the constructor function for the module's
567// named main object. This is the module-specific constructor (e.g.

Callers 9

entrypointCallMethod · 0.80
StateLookupMethod · 0.80
StateResultMethod · 0.80
GetDependencyMethod · 0.80
loadedModulesMethod · 0.80
registerCommandsMethod · 0.80
PromptMethod · 0.80
MainHelpMethod · 0.80
TypesHelpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected