MCPcopy Create free account
hub / github.com/antirez/ds4 / raxIteratorDelChars

Function raxIteratorDelChars

rax.c:1553–1555  ·  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

1551/* Remove the specified number of chars from the right of the current
1552 * iterator key. */
1553void raxIteratorDelChars(raxIterator *it, size_t count) {
1554 it->key_len -= count;
1555}
1556
1557static inline int raxIteratorIsInlineLeaf(raxIterator *it) {
1558 return it->flags & RAX_ITER_INLINE_LEAF;

Callers 3

raxIteratorNextStepFunction · 0.85
raxIteratorPrevStepFunction · 0.85
raxRandomWalkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected