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

Function pythonSourceAt

core/integration/module_python_test.go:2120–2122  ·  view source on GitHub ↗
(modPath, contents string)

Source from the content-addressed store, hash-verified

2118}
2119
2120func pythonSourceAt(modPath, contents string) dagger.WithContainerFunc {
2121 return fileContents(path.Join(modPath, "src/test/__init__.py"), contents)
2122}
2123
2124func pythonModInit(t testing.TB, c *dagger.Client, source string) *dagger.Container {
2125 t.Helper()

Callers 1

pythonSourceFunction · 0.85

Calls 1

fileContentsFunction · 0.85

Tested by

no test coverage detected