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

Method UseUvLock

sdk/python/runtime/discovery.go:151–154  ·  view source on GitHub ↗

UseUvLock returns true if the runtime should expect a uv.lock file.

()

Source from the content-addressed store, hash-verified

149
150// UseUvLock returns true if the runtime should expect a uv.lock file.
151func (m *PythonSdk) UseUvLock() bool {
152 d := m.Discovery
153 return m.UseUv() && (d.HasFile(UvLock) || !d.HasFile(PipCompileLock) && m.IsInit)
154}
155
156// AddDirectory adds a directory to the module's source.
157func (m *PythonSdk) AddDirectory(name string, dir *dagger.Directory) {

Callers 4

WithUpdatesMethod · 0.95
WithInstallMethod · 0.95
invokeFunction · 0.80
loadConfigMethod · 0.80

Calls 2

UseUvMethod · 0.95
HasFileMethod · 0.80

Tested by

no test coverage detected