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

Function remove_one

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

Source from the content-addressed store, hash-verified

232}
233
234static void remove_one(void)
235{
236 struct json *j = json_parse(tmpctx, "['invoice']");
237 json_tok_remove(&j->toks, j->toks, j->toks + 1, 1);
238 assert(j);
239}
240
241static void remove_first(void)
242{

Callers 1

mainFunction · 0.85

Calls 2

json_tok_removeFunction · 0.85
json_parseFunction · 0.70

Tested by

no test coverage detected