MCPcopy Create free account
hub / github.com/segmentio/encoding / only

Method only

thrift/struct.go:33–35  ·  view source on GitHub ↗
(x flags)

Source from the content-addressed store, hash-verified

31}
32
33func (f flags) only(x flags) flags {
34 return f & x
35}
36
37func (f flags) with(x flags) flags {
38 return f | x

Callers 4

decodeFuncSliceOfFunction · 0.80
decodeFuncMapOfFunction · 0.80
decodeFuncMapAsSetOfFunction · 0.80
decodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected