MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / wait_parser

Function wait_parser

redis-server/src/parser.rs:30–32  ·  view source on GitHub ↗
(input: &[u8])

Source from the content-addressed store, hash-verified

28}
29
30fn wait_parser(input: &[u8]) -> IResult<&[u8], (Cmd<'_>, usize)> {
31 eof(input).map(|(a, _)| (a, (Cmd::Wait, 0)))
32}
33
34fn line_parser(input: &[u8]) -> IResult<&[u8], (&[u8], usize)> {
35 let (rem, ln) = take_until("\r\n")(input)?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected