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

Function datastore_key_eq

lightningd/datastore.c:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105static bool datastore_key_eq(const char **k1, const char **k2)
106{
107 return tal_count(k1) == tal_count(k2)
108 && datastore_key_startswith(k1, k2);
109}
110
111static char *datastore_key_fmt(const tal_t *ctx, const char **key)
112{

Callers 2

json_datastoreFunction · 0.85
json_deldatastoreFunction · 0.85

Calls 1

datastore_key_startswithFunction · 0.85

Tested by

no test coverage detected