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

Function opt_set_config_filename

common/configdir.c:159–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159static char *opt_set_config_filename(const char *arg, char **p)
160{
161 /* Ignore if called directly from opt (e.g. lightning-cli) */
162 if (!current_cv)
163 return NULL;
164
165 if (current_cv->src == CONFIGVAR_CMDLINE)
166 return opt_set_abspath(arg, p);
167 return "not permitted in configuration files";
168}
169
170static char *opt_set_lightning_dir(const char *arg, char **p)
171{

Callers

nothing calls this directly

Calls 1

opt_set_abspathFunction · 0.85

Tested by

no test coverage detected