MCPcopy Create free account
hub / github.com/antirez/botlib / sdsempty

Function sdsempty

sds.c:149–151  ·  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

147/* Create an empty (zero length) sds string. Even in this case the string
148 * always has an implicit null term. */
149sds sdsempty(void) {
150 return sdsnewlen("",0);
151}
152
153/* Create a new sds string starting from a null terminated C string. */
154sds sdsnew(const char *init) {

Callers 7

sqlGenericQueryFunction · 0.85
makeHTTPGETCallFunction · 0.85
botSendImageFunction · 0.85
sdssplitargsFunction · 0.85
sdsjoinFunction · 0.85
sdsjoinsdsFunction · 0.85
sdsTestFunction · 0.85

Calls 1

sdsnewlenFunction · 0.85

Tested by

no test coverage detected