MCPcopy Create free account
hub / github.com/antirez/disque / rewriteConfigReadOldFile

Function rewriteConfigReadOldFile

src/config.c:912–967  ·  view source on GitHub ↗

Read the old file, split it into lines to populate a newly created * config rewrite state, and return it to the caller. * * If it is impossible to read the old file, NULL is returned. * If the old file does not exist at all, an empty state is returned. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

rewriteConfigFunction · 0.85

Calls 11

zmallocFunction · 0.85
rewriteConfigAppendLineFunction · 0.85
dictCreateFunction · 0.70
sdstrimFunction · 0.70
sdsnewFunction · 0.70
sdssplitargsFunction · 0.70
sdscatsdsFunction · 0.70
sdsfreeFunction · 0.70
sdstolowerFunction · 0.70
sdsfreesplitresFunction · 0.70

Tested by

no test coverage detected