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

Function csv_match_token

plugins/bkpr/incomestmt.c:824–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

822};
823
824const struct csv_fmt *csv_match_token(const char *buffer, const jsmntok_t *tok)
825{
826 for (size_t i = 0; i < ARRAY_SIZE(csv_fmts); i++) {
827 if (json_tok_streq(buffer, tok, csv_fmts[i].fmt_name))
828 return &csv_fmts[i];
829 }
830
831 return NULL;
832}
833
834const char *csv_list_fmts(const tal_t *ctx)
835{

Callers 1

param_csv_formatFunction · 0.70

Calls 1

json_tok_streqFunction · 0.85

Tested by

no test coverage detected