MCPcopy 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
97bool 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
105struct path_pushd {
106 const char *olddir;

Callers 2

path_canonFunction · 0.85
mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by 1

mainFunction · 0.68