MCPcopy
hub / github.com/netdata/netdata / sortConfigs

Function sortConfigs

src/go/plugin/framework/confgroup/cache_test.go:129–134  ·  view source on GitHub ↗
(cfgs []Config)

Source from the content-addressed store, hash-verified

127}
128
129func sortConfigs(cfgs []Config) {
130 if len(cfgs) == 0 {
131 return
132 }
133 sort.Slice(cfgs, func(i, j int) bool { return cfgs[i].FullName() < cfgs[j].FullName() })
134}

Callers 1

TestConfigCache_AddFunction · 0.85

Calls 1

FullNameMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…