Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ guide_must_be
Function
guide_must_be
common/json_parse.c:246–250 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
244
}
245
246
static void guide_must_be(const char **guide, char c)
247
{
248
char actual = guide_consume_one(guide);
249
assert(actual == c);
250
}
251
252
static bool guide_maybe_optional(const char **guide)
253
{
Callers
5
parse_guide
Function · 0.85
parse_field
Function · 0.85
parse_obj
Function · 0.85
parse_arrelem
Function · 0.85
parse_arr
Function · 0.85
Calls
1
guide_consume_one
Function · 0.85
Tested by
no test coverage detected