MCPcopy
hub / github.com/dagger/dagger / IndexURL

Method IndexURL

sdk/python/runtime/extension.go:99–109  ·  view source on GitHub ↗

Uv's default index URL setting

()

Source from the content-addressed store, hash-verified

97
98// Uv's default index URL setting
99func (m *PythonSdk) IndexURL() string {
100 for _, cfg := range m.Discovery.UvConfig().Index {
101 if cfg.Name != "" {
102 continue
103 }
104 if cfg.Default {
105 return cfg.URL
106 }
107 }
108 return ""
109}
110
111// Uv's "extra-index-url" setting
112func (m *PythonSdk) ExtraIndexURL() string {

Callers 2

WithBaseMethod · 0.95
invokeFunction · 0.80

Calls 1

UvConfigMethod · 0.80

Tested by

no test coverage detected