MCPcopy Create free account
hub / github.com/ElementsProject/lightning / guide_maybe_optional

Function guide_maybe_optional

common/json_parse.c:252–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252static bool guide_maybe_optional(const char **guide)
253{
254 if (**guide == '?') {
255 guide_consume_one(guide);
256 return true;
257 }
258 return false;
259}
260
261/* Recursion: return NULL on success, errmsg on fail */
262static const char *parse_obj(const char *buffer,

Callers 1

parse_fieldFunction · 0.85

Calls 1

guide_consume_oneFunction · 0.85

Tested by

no test coverage detected