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

Function ldbFlushLog

app/redis-6.2.6/src/scripting.c:1855–1860  ·  view source on GitHub ↗

Remove all the pending messages in the specified list. */

Source from the content-addressed store, hash-verified

1853
1854/* Remove all the pending messages in the specified list. */
1855void ldbFlushLog(list *log) {
1856 listNode *ln;
1857
1858 while((ln = listFirst(log)) != NULL)
1859 listDelNode(log,ln);
1860}
1861
1862/* Enable debug mode of Lua scripts for this client. */
1863void ldbEnable(client *c) {

Callers 1

ldbEnableFunction · 0.85

Calls 1

listDelNodeFunction · 0.85

Tested by

no test coverage detected