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

Function rewriteConfigRewriteLine

src/config.c:985–1018  ·  view source on GitHub ↗

Rewrite the specified configuration option with the new "line". * It progressively uses lines of the file that were already used for the same * configuration option in the old version of the file, removing that line from * the map of options -> line numbers. * * If there are lines associated with a given configuration option and * "force" is non-zero, the line is appended to the configuratio

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 7

dictFetchValueFunction · 0.85
listDelNodeFunction · 0.85
rewriteConfigAppendLineFunction · 0.85
sdsnewFunction · 0.70
sdsfreeFunction · 0.70
dictDeleteFunction · 0.70

Tested by

no test coverage detected