We could use modSource.Directory("") but we'll need to use the context directory in GeneratedCode later, so rather than trying to replace the source directory in the context directory, we'll just use the context directory with subpath everywhere.
()
| 163 | // to replace the source directory in the context directory, we'll |
| 164 | // just use the context directory with subpath everywhere. |
| 165 | func (m *PythonSdk) Source() *dagger.Directory { |
| 166 | return m.ContextDir.Directory(m.SubPath) |
| 167 | } |
| 168 | |
| 169 | // getImage returns the container image address for the given name. |
| 170 | func (m *PythonSdk) getImage(name string) Image { |
no test coverage detected