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

Function dir_writable

lightningd/configs.c:618–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618static bool dir_writable(const char *fname)
619{
620 return access(path_dirname(tmpctx, fname), W_OK) == 0;
621}
622
623/* Returns config file name if not writable */
624static 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