MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / readConn

Function readConn

src/redis-cli.c:6174–6177  ·  view source on GitHub ↗

Read raw bytes through a redisContext. The read operation is not greedy * and may not fill the buffer entirely. */

Source from the content-addressed store, hash-verified

6172 * and may not fill the buffer entirely.
6173 */
6174static ssize_t readConn(redisContext *c, char *buf, size_t len)
6175{
6176 return c->funcs->read(c, buf, len);
6177}
6178
6179/* Sends SYNC and reads the number of bytes in the payload. Used both by
6180 * slaveMode() and getRDB().

Callers 3

sendSyncFunction · 0.85
slaveModeFunction · 0.85
getRDBFunction · 0.85

Calls 1

readMethod · 0.80

Tested by

no test coverage detected