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

Function opt_set_abspath

common/configdir.c:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29static char *opt_set_abspath(const char *arg, char **p)
30{
31 tal_free(*p);
32 return opt_set_charp(path_join(options_ctx, take(path_cwd(NULL)), arg),
33 p);
34}
35
36/* Tal wrappers for opt. */
37static void *opt_allocfn(size_t size)

Callers 2

opt_set_config_filenameFunction · 0.85
opt_set_lightning_dirFunction · 0.85

Calls 4

tal_freeFunction · 0.85
opt_set_charpFunction · 0.85
path_joinFunction · 0.85
path_cwdFunction · 0.85

Tested by

no test coverage detected