MCPcopy Create free account
hub / github.com/F-Stack/f-stack / boolConfigGet

Function boolConfigGet

app/redis-6.2.6/src/config.c:1776–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1774}
1775
1776static void boolConfigGet(client *c, typeData data) {
1777 addReplyBulkCString(c, *data.yesno.config ? "yes" : "no");
1778}
1779
1780static void boolConfigRewrite(typeData data, const char *name, struct rewriteConfigState *state) {
1781 rewriteConfigYesNoOption(state, name,*(data.yesno.config), data.yesno.default_value);

Callers

nothing calls this directly

Calls 1

addReplyBulkCStringFunction · 0.85

Tested by

no test coverage detected