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

Method GetFile

sdk/python/runtime/discovery.go:146–148  ·  view source on GitHub ↗

GetFile returns a file from the module's source.

(name string)

Source from the content-addressed store, hash-verified

144
145// GetFile returns a file from the module's source.
146func (m *PythonSdk) GetFile(name string) *dagger.File {
147 return m.ContextDir.File(path.Join(m.SubPath, name))
148}
149
150// UseUvLock returns true if the runtime should expect a uv.lock file.
151func (m *PythonSdk) UseUvLock() bool {

Callers 2

invokeFunction · 0.45
loadFilesMethod · 0.45

Calls 1

FileMethod · 0.65

Tested by

no test coverage detected