| 954 | } |
| 955 | |
| 956 | static int isInvalidateReply(redisReply *reply) { |
| 957 | return reply->type == REDIS_REPLY_PUSH && reply->elements == 2 && |
| 958 | reply->element[0]->type == REDIS_REPLY_STRING && |
| 959 | !strncmp(reply->element[0]->str, "invalidate", 10) && |
| 960 | reply->element[1]->type == REDIS_REPLY_ARRAY; |
| 961 | } |
| 962 | |
| 963 | /* Special display handler for RESP3 'invalidate' messages. |
| 964 | * This function does not validate the reply, so it should |
no test coverage detected