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

Function sdscpy

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

Like sdscpylen() but 't' must be a null-termined string so that the length * of the string is obtained with strlen(). */

Source from the content-addressed store, hash-verified

472/* Like sdscpylen() but 't' must be a null-termined string so that the length
473 * of the string is obtained with strlen(). */
474sds sdscpy(sds s, const char *t) {
475 return sdscpylen(s, t, strlen(t));
476}
477
478/* Helper for sdscatlonglong() doing the actual number -> string
479 * conversion. 's' must point to a string with room for at least

Callers 3

clusterManagerNodeByNameFunction · 0.85
sdsTestFunction · 0.85

Calls 1

sdscpylenFunction · 0.85

Tested by

no test coverage detected