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

Function sdsempty

app/redis-6.2.6/src/sds.c:178–180  ·  view source on GitHub ↗

Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */

Source from the content-addressed store, hash-verified

176/* Create an empty (zero length) sds string. Even in this case the string
177 * always has an implicit null term. */
178sds sdsempty(void) {
179 return sdsnewlen("",0);
180}
181
182/* Create a new sds string starting from a null terminated C string. */
183sds sdsnew(const char *init) {

Callers 15

loadServerConfigFunction · 0.85
configGetCommandFunction · 0.85
rewriteConfigReadOldFileFunction · 0.85
rewriteConfigBytesOptionFunction · 0.85
rewriteConfigYesNoOptionFunction · 0.85
rewriteConfigOctalOptionFunction · 0.85
rewriteConfigEnumOptionFunction · 0.85
rewriteConfigSaveOptionFunction · 0.85

Calls 1

sdsnewlenFunction · 0.85

Tested by

no test coverage detected