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

Function rioInitWithFile

src/rio.cpp:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191};
192
193void rioInitWithFile(rio *r, FILE *fp) {
194 *r = rioFileIO;
195 r->io.file.fp = fp;
196 r->io.file.buffered = 0;
197 r->io.file.autosync = 0;
198}
199
200/* ------------------- Connection implementation -------------------
201 * We use this RIO implementation when reading an RDB file directly from

Callers 8

rdbSaveFpFunction · 0.85
rdbSaveFileFunction · 0.85
rdbLoadFileFunction · 0.85
mainFunction · 0.85
redis_check_rdbFunction · 0.85
loadAppendOnlyFileFunction · 0.85
rewriteAppendOnlyFileFunction · 0.85
rdbLoadS3CoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected