(m uhaha.Machine, args []string)
| 293 | ldb.RPush(source, data) //revert pop |
| 294 | return nil, err |
| 295 | } |
| 296 | |
| 297 | return data, nil |
| 298 | } |
| 299 | |
| 300 | func cmdLLEN(m uhaha.Machine, args []string) (interface{}, error) { |
| 301 | if len(args) != 2 { |
| 302 | return nil, uhaha.ErrWrongNumArgs |
| 303 | } |
| 304 | |
| 305 | n, err := ldb.LLen([]byte(args[1])) |
| 306 | if err != nil { |
| 307 | return nil, err |
| 308 | } |
nothing calls this directly
no outgoing calls
no test coverage detected