MCPcopy Index your code
hub / github.com/ByteStorage/FlyDB / exists

Method exists

structure/zset.go:1039–1043  ·  view source on GitHub ↗
(score int, member string)

Source from the content-addressed store, hash-verified

1037}
1038
1039func (fzs *FZSet) exists(score int, member string) bool {
1040 v, ok := fzs.dict[member]
1041
1042 return ok && v.score == score
1043}
1044
1045// Bytes encodes the FZSet instance into bytes using MessagePack
1046// binary serialization format. The encoded bytes can be used for

Callers 1

existsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected