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

Function daggerFunctions

core/integration/module_test.go:8113–8119  ·  view source on GitHub ↗
(args ...string)

Source from the content-addressed store, hash-verified

8111}
8112
8113func daggerFunctions(args ...string) dagger.WithContainerFunc {
8114 return func(c *dagger.Container) *dagger.Container {
8115 return c.WithExec(append([]string{"dagger", "functions"}, args...), dagger.ContainerWithExecOpts{
8116 ExperimentalPrivilegedNesting: true,
8117 })
8118 }
8119}
8120
8121// fileContents is syntax sugar for Container.WithNewFile.
8122func fileContents(path, contents string) dagger.WithContainerFunc {

Calls 1

WithExecMethod · 0.45

Tested by

no test coverage detected