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

Function raxIteratorDelChars

app/redis-6.2.6/src/rax.c:1295–1297  ·  view source on GitHub ↗

Remove the specified number of chars from the right of the current * iterator key. */

Source from the content-addressed store, hash-verified

1293/* Remove the specified number of chars from the right of the current
1294 * iterator key. */
1295void raxIteratorDelChars(raxIterator *it, size_t count) {
1296 it->key_len -= count;
1297}
1298
1299/* Do an iteration step towards the next element. At the end of the step the
1300 * iterator key will represent the (new) current key. If it is not possible

Callers 3

raxIteratorNextStepFunction · 0.85
raxIteratorPrevStepFunction · 0.85
raxRandomWalkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected