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

Function readConn

app/redis-6.2.6/src/redis-cli.c:7084–7087  ·  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

7082 * and may not fill the buffer entirely.
7083 */
7084static ssize_t readConn(redisContext *c, char *buf, size_t len)
7085{
7086 return c->funcs->read(c, buf, len);
7087}
7088
7089/* Sends SYNC and reads the number of bytes in the payload. Used both by
7090 * slaveMode() and getRDB().

Callers 3

sendSyncFunction · 0.85
slaveModeFunction · 0.85
getRDBFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected