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

Function GetLocalSourcesMap

source/local-source.go:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func GetLocalSourcesMap() (map[string]Source, error) {
35 sources, err := localdata.ReadBackupFile()
36 if err != nil {
37 return nil, fmt.Errorf("failed to read backup file: %v", err)
38 }
39 return convertLocalSources(sources), nil
40}

Callers

nothing calls this directly

Calls 2

ReadBackupFileFunction · 0.92
convertLocalSourcesFunction · 0.85

Tested by

no test coverage detected