UseUvLock returns true if the runtime should expect a uv.lock file.
()
| 149 | |
| 150 | // UseUvLock returns true if the runtime should expect a uv.lock file. |
| 151 | func (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. |
| 157 | func (m *PythonSdk) AddDirectory(name string, dir *dagger.Directory) { |
no test coverage detected