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

Function initModuleParams

cmd/dagger/function_name.go:9–16  ·  view source on GitHub ↗
(a []string)

Source from the content-addressed store, hash-verified

7)
8
9func initModuleParams(a []string) client.Params {
10 return client.Params{
11 ExecCmd: a,
12 Function: functionName(a),
13 EagerRuntime: eagerRuntime,
14 LoadWorkspaceModules: shouldLoadWorkspaceModules(false),
15 }
16}
17
18func shouldLoadWorkspaceModules(disableModuleLoad bool) bool {
19 return !disableModuleLoad && !moduleNoURL

Callers 3

shell.goFile · 0.85
call.goFile · 0.85
CommandMethod · 0.85

Calls 2

functionNameFunction · 0.85

Tested by

no test coverage detected