MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / ordered

Method ordered

pkg/sql/sem/tree/evalgen/string_set.go:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func (ss stringSet) ordered() []string {
27 list := make([]string, 0, len(ss))
28 for s := range ss {
29 list = append(list, s)
30 }
31 sort.Strings(list)
32 return list
33}
34
35func (ss stringSet) contains(name string) bool {
36 _, exists := ss[name]

Callers 2

generateOpsFileFunction · 0.80
generateExprEvalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected