/gnu/

='/guix/log/nix?id=4949188d465dd008c73c54d71baa2def676a445a&showmsg=1'>nix/libutil
AgeCommit message (Collapse)Author
2021-11-19daemon: Micro-optimize 'deletePath'.Ludovic Courtès
'remove' calls 'unlink' first and falls back to 'rmdir' upon EISDIR. This change gets rid of the 'unlink' call for every directory being removed. * nix/libutil/util.cc (_deletePath): Call 'unlink' or 'rmdir' depending on 'st.st_mode', rather than call 'remove'.