MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / cmdSREM

Function cmdSREM

set.go:121–128  ·  view source on GitHub ↗
(m uhaha.Machine, args []string)

Source from the content-addressed store, hash-verified

119}
120
121func cmdSMEMBERS(m uhaha.Machine, args []string) (interface{}, error) {
122 if len(args) != 2 {
123 return nil, uhaha.ErrWrongNumArgs
124 }
125 return ldb.SMembers([]byte(args[1]))
126}
127
128func cmdSREM(m uhaha.Machine, args []string) (interface{}, error) {
129 if len(args) < 3 {
130 return nil, uhaha.ErrWrongNumArgs
131 }

Callers

nothing calls this directly

Calls 1

stringSliceToBytesFunction · 0.85

Tested by

no test coverage detected