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

Function rioInitWithFile

app/redis-6.2.6/src/rio.c:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153};
154
155void rioInitWithFile(rio *r, FILE *fp) {
156 *r = rioFileIO;
157 r->io.file.fp = fp;
158 r->io.file.buffered = 0;
159 r->io.file.autosync = 0;
160}
161
162/* ------------------- Connection implementation -------------------
163 * We use this RIO implementation when reading an RDB file directly from

Callers 5

rdbSaveFunction · 0.85
rdbLoadFunction · 0.85
loadAppendOnlyFileFunction · 0.85
rewriteAppendOnlyFileFunction · 0.85
redis_check_rdbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected