Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ path_popd
Function
path_popd
ccan/ccan/tal/path/path.c:97–103 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
bool path_popd(struct path_pushd *olddir)
98
{
99
bool ok = (fchdir(olddir->fd) == 0);
100
101
tal_free(olddir);
102
return ok;
103
}
104
#else
105
struct path_pushd {
106
const char *olddir;
Callers
2
path_canon
Function · 0.85
main
Function · 0.85
Calls
1
tal_free
Function · 0.85
Tested by
1
main
Function · 0.68