MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / ParseProfiles

Function ParseProfiles

pkg/remote/connutil.go:193–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193func ParseProfiles() []string {
194 connfile, cerrs := wconfig.ReadWaveHomeConfigFile(wconfig.ProfilesFile)
195 if len(cerrs) > 0 {
196 log.Printf("error reading config file: %v", cerrs[0])
197 return nil
198 }
199
200 return iterfn.MapKeysToSorted(connfile)
201}

Callers

nothing calls this directly

Calls 2

ReadWaveHomeConfigFileFunction · 0.92
MapKeysToSortedFunction · 0.92

Tested by

no test coverage detected