MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / streamParseStrictIDOrReply

Function streamParseStrictIDOrReply

src/t_stream.cpp:1739–1741  ·  view source on GitHub ↗

Wrapper for streamGenericParseIDOrReply() with 'strict' argument set to * 1, to be used when we want to return an error if the special IDs + or - * are provided. */

Source from the content-addressed store, hash-verified

1737 * 1, to be used when we want to return an error if the special IDs + or -
1738 * are provided. */
1739int streamParseStrictIDOrReply(client *c, robj *o, streamID *id, uint64_t missing_seq) {
1740 return streamGenericParseIDOrReply(c,o,id,missing_seq,1);
1741}
1742
1743/* Helper for parsing a stream ID that is a range query interval. When the
1744 * exclude argument is NULL, streamParseIDOrReply() is called and the interval

Callers 8

xreadCommandFunction · 0.85
xgroupCommandFunction · 0.85
xsetidCommandFunction · 0.85
xackCommandFunction · 0.85
xclaimCommandFunction · 0.85
xdelCommandFunction · 0.85

Calls 1

Tested by

no test coverage detected