This implements the LCS algorithm. */
| 715 | * STRALGO <algorithm> ... arguments ... */ |
| 716 | void stralgoLCS(client *c); /* This implements the LCS algorithm. */ |
| 717 | void stralgoCommand(client *c) { |
| 718 | /* Select the algorithm. */ |
| 719 | if (!strcasecmp(c->argv[1]->ptr,"lcs")) { |
| 720 | stralgoLCS(c); |
| 721 | } else { |
| 722 | addReplyErrorObject(c,shared.syntaxerr); |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | /* STRALGO <algo> [IDX] [LEN] [MINMATCHLEN <len>] [WITHMATCHLEN] |
| 727 | * STRINGS <string> <string> | KEYS <keya> <keyb> |
nothing calls this directly
no test coverage detected