(m uhaha.Machine, args []string)
| 218 | func cmdSPERSIST(m uhaha.Machine, args []string) (interface{}, error) { |
| 219 | if len(args) != 2 { |
| 220 | return nil, uhaha.ErrWrongNumArgs |
| 221 | } |
| 222 | |
| 223 | n, err := ldb.SPersist([]byte(args[1])) |
| 224 | return redcon.SimpleInt(n), err |
| 225 | } |
| 226 | |
| 227 | func cmdSKEYEXISTS(m uhaha.Machine, args []string) (interface{}, error) { |
| 228 | if len(args) != 2 { |
| 229 | return nil, uhaha.ErrWrongNumArgs |
| 230 | } |
nothing calls this directly
no outgoing calls
no test coverage detected