MCPcopy Create free account
hub / github.com/Sma1lboy/RegTool / GetRemoteSourcesMap

Function GetRemoteSourcesMap

source/source.go:41–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39var SOURCES map[string]Source
40
41func GetRemoteSourcesMap() (map[string]Source, error) {
42 sources, err := GetRemoteRegistrySources()
43 if err != nil {
44 return nil, err
45 }
46 SOURCES = ConvertSources(sources)
47 return SOURCES, nil
48}
49
50type Source struct {
51 Region string

Callers 1

convertLocalSourcesFunction · 0.85

Calls 2

GetRemoteRegistrySourcesFunction · 0.85
ConvertSourcesFunction · 0.85

Tested by

no test coverage detected