(m uhaha.Machine, args []string)
| 78 | n, err = ldb.SUnionStore(args[1], args[2:]...) |
| 79 | case ledis.DiffType: |
| 80 | n, err = ldb.SDiffStore(args[1], args[2:]...) |
| 81 | case ledis.InterType: |
| 82 | n, err = ldb.SInterStore(args[1], args[2:]...) |
| 83 | } |
| 84 | return redcon.SimpleInt(n), err |
| 85 | } |
| 86 | |
| 87 | func cmdSCARD(m uhaha.Machine, args []string) (interface{}, error) { |
| 88 | if len(args) != 2 { |
| 89 | return nil, uhaha.ErrWrongNumArgs |
| 90 | } |
nothing calls this directly
no outgoing calls
no test coverage detected