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

Function opt_set_abspath

common/configdir.c:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

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