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

Function get_bolt_files

tools/check-bolt.c:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static struct bolt_file *get_bolt_files(const char *dir)
86{
87 struct bolt_file *bolts = tal_arr(NULL, struct bolt_file, 0);
88
89 if (!get_files(dir, ".", &bolts))
90 err(1, "Opening BOLT dir %s", dir);
91 /* This currently does not exist. */
92 get_files(dir, "early-drafts", &bolts);
93 return bolts;
94}
95
96static char *find_bolt_ref(const char *prefix, char **p, size_t *len)
97{

Callers 1

mainFunction · 0.85

Calls 2

get_filesFunction · 0.85
errFunction · 0.85

Tested by

no test coverage detected