(args []string)
| 227 | func cmdSKEYEXISTS(m uhaha.Machine, args []string) (interface{}, error) { |
| 228 | if len(args) != 2 { |
| 229 | return nil, uhaha.ErrWrongNumArgs |
| 230 | } |
| 231 | |
| 232 | n, err := ldb.SKeyExists([]byte(args[1])) |
| 233 | return redcon.SimpleInt(n), err |
| 234 | } |
| 235 | |
| 236 | func cmdSMOVE(m uhaha.Machine, args []string) (interface{}, error) { |
| 237 | if len(args) != 4 { |
| 238 | return nil, uhaha.ErrWrongNumArgs |
no outgoing calls
no test coverage detected