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

Function dir_writable

lightningd/configs.c:619–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619static bool dir_writable(const char *fname)
620{
621 return access(path_dirname(tmpctx, fname), W_OK) == 0;
622}
623
624/* Returns config file name if not writable */
625static const char *config_not_writable(const tal_t *ctx,

Callers 1

config_not_writableFunction · 0.85

Calls 1

path_dirnameFunction · 0.85

Tested by

no test coverage detected