(m uhaha.Machine, args []string)
| 119 | } |
| 120 | |
| 121 | func cmdSREM(m uhaha.Machine, args []string) (interface{}, error) { |
| 122 | if len(args) < 3 { |
| 123 | return nil, uhaha.ErrWrongNumArgs |
| 124 | } |
| 125 | |
| 126 | n, err := ldb.SRem([]byte(args[1]), stringSliceToBytes(args[2:])...) |
| 127 | return redcon.SimpleInt(n), err |
| 128 | } |
| 129 | |
| 130 | func cmdSUNION(m uhaha.Machine, args []string) (interface{}, error) { |
| 131 | return soptGeneric(stringSliceToBytes(args), ledis.UnionType) |
nothing calls this directly
no test coverage detected