| 2113 | } |
| 2114 | |
| 2115 | static void sdsConfigGet(client *c, typeData data) { |
| 2116 | if (*data.sds.config) { |
| 2117 | addReplyBulkSds(c, sdsdup(*data.sds.config)); |
| 2118 | } else { |
| 2119 | addReplyBulkCString(c, ""); |
| 2120 | } |
| 2121 | } |
| 2122 | |
| 2123 | static void sdsConfigRewrite(typeData data, const char *name, struct rewriteConfigState *state) { |
| 2124 | sds sdsDefault = data.sds.default_value ? sdsnew(data.sds.default_value) : NULL; |
nothing calls this directly
no test coverage detected