Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ file_writable
Function
file_writable
lightningd/configs.c:613–616 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
611
}
612
613
static bool file_writable(const char *fname)
614
{
615
return access(fname, W_OK) == 0;
616
}
617
618
static bool dir_writable(const char *fname)
619
{
Callers
1
config_not_writable
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected