MCPcopy Index your code
hub / github.com/dagger/dagger / AsFunctionProvider

Method AsFunctionProvider

cmd/dagger/module_inspect.go:869–880  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

867}
868
869func (t *modTypeDef) AsFunctionProvider() functionProvider {
870 if t.AsList != nil {
871 t = t.AsList.ElementTypeDef
872 }
873 if t.AsObject != nil {
874 return t.AsObject
875 }
876 if t.AsInterface != nil {
877 return t.AsInterface
878 }
879 return nil
880}
881
882// modObject is a representation of dagger.ObjectTypeDef.
883type modObject struct {

Callers 15

NameMethod · 0.95
completionsMethod · 0.80
lookupFieldMethod · 0.80
GetMainFunctionMethod · 0.80
ReturnsCoreObjectMethod · 0.80
IsObjectMethod · 0.80
registerCommandsMethod · 0.80
call.goFile · 0.80
MainHelpMethod · 0.80
ModuleDocMethod · 0.80
shellTypeDocFunction · 0.80
syncVarsToLLMMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected