MCPcopy Index your code
hub / github.com/netdata/netdata / cloneStringSet

Function cloneStringSet

src/go/plugin/framework/chartengine/compiler.go:471–477  ·  view source on GitHub ↗
(in map[string]struct{})

Source from the content-addressed store, hash-verified

469}
470
471func cloneStringSet(in map[string]struct{}) map[string]struct{} {
472 out := make(map[string]struct{}, len(in))
473 for k := range in {
474 out[k] = struct{}{}
475 }
476 return out
477}
478
479func normalizeUnique(values []string) []string {
480 set := make(map[string]struct{}, len(values))

Callers 1

compileGroupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…