(m uhaha.Machine, args []string)
| 183 | n, err := ldb.LMclear(keys...) |
| 184 | if err != nil { |
| 185 | return nil, err |
| 186 | } |
| 187 | return redcon.SimpleInt(n), nil |
| 188 | } |
| 189 | |
| 190 | func cmdLCLEAR(m uhaha.Machine, args []string) (interface{}, error) { |
| 191 | if len(args) != 2 { |
| 192 | return nil, uhaha.ErrWrongNumArgs |
| 193 | } |
| 194 | |
| 195 | n, err := ldb.LClear([]byte(args[1])) |
| 196 | if err != nil { |
| 197 | return nil, err |
| 198 | } |
nothing calls this directly
no outgoing calls
no test coverage detected