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

Function withModInit

core/integration/module_test.go:8302–8304  ·  view source on GitHub ↗
(sdk, contents string, extra ...string)

Source from the content-addressed store, hash-verified

8300}
8301
8302func withModInit(sdk, contents string, extra ...string) dagger.WithContainerFunc {
8303 return withModInitAt(".", sdk, contents, extra...)
8304}
8305
8306func withModInitAt(dir, sdk, contents string, extra ...string) dagger.WithContainerFunc {
8307 return func(ctr *dagger.Container) *dagger.Container {

Callers 5

TestIfaceCallMethod · 0.85
TestBasicModuleMethod · 0.85
modInitFunction · 0.85

Calls 1

withModInitAtFunction · 0.85

Tested by

no test coverage detected