(m uhaha.Machine, args []string)
| 146 | } |
| 147 | |
| 148 | func cmdSMCLEAR(m uhaha.Machine, args []string) (interface{}, error) { |
| 149 | if len(args) < 2 { |
| 150 | return nil, uhaha.ErrWrongNumArgs |
| 151 | } |
| 152 | |
| 153 | n, err := ldb.SMclear(stringSliceToBytes(args[1:])...) |
| 154 | |
| 155 | return redcon.SimpleInt(n), err |
| 156 | } |
| 157 | |
| 158 | func cmdSEXPIRE(m uhaha.Machine, args []string) (interface{}, error) { |
| 159 | if len(args) != 3 { |
nothing calls this directly
no test coverage detected