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

Function remove_one

common/test/run-json_remove.c:265–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265static void remove_one(void)
266{
267 struct json *j = json_parse(tmpctx, "['invoice']");
268 json_tok_remove(&j->toks, j->toks, j->toks + 1, 1);
269 assert(j);
270}
271
272static void remove_first(void)
273{

Callers 1

mainFunction · 0.85

Calls 2

json_tok_removeFunction · 0.85
json_parseFunction · 0.70

Tested by

no test coverage detected