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

Method GetDef

cmd/dagger/shell_state.go:382–384  ·  view source on GitHub ↗

GetDef returns the introspection definition for this function call

(modDef *moduleDef)

Source from the content-addressed store, hash-verified

380
381// GetDef returns the introspection definition for this function call
382func (f FunctionCall) GetDef(modDef *moduleDef) (*modFunction, error) {
383 return modDef.GetObjectFunction(f.Object, cliName(f.Name))
384}
385
386// GetNextDef returns the introspection definition for the next function call, based on
387// the current return type and name of the next function

Callers

nothing calls this directly

Calls 2

cliNameFunction · 0.85
GetObjectFunctionMethod · 0.80

Tested by

no test coverage detected