MCPcopy Create free account
hub / github.com/distributedio/titan / parseFlags

Function parseFlags

command/constraint.go:136–146  ·  view source on GitHub ↗
(flags Flag)

Source from the content-addressed store, hash-verified

134 return flags
135}
136func parseFlags(flags Flag) []string {
137 var s []string
138 // we have total 16 flags now
139 for i := uint(0); i < 16; i++ {
140 f := Flag(1 << i)
141 if f&flags != 0 {
142 s = append(s, f.String())
143 }
144 }
145 return s
146}

Callers 1

RedisCommandFunction · 0.85

Calls 2

FlagTypeAlias · 0.85
StringMethod · 0.45

Tested by

no test coverage detected