]> git.cworth.org Git - notmuch/commit
util: refactor sync_dir and mkdir_recursive
authorDavid Bremner <david@tethera.net>
Sun, 18 Aug 2024 00:33:44 +0000 (21:33 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 9 Aug 2025 11:19:43 +0000 (08:19 -0300)
commit337ac48b227ef310e4d3fe8c403113ef8868777c
treee83d9ed8a32aa2d086017682f9bc76748eeb3108
parentde97e0cbdbf48bd5f7576ca0107c1e8542277cdf
util: refactor sync_dir and mkdir_recursive

Moving these functions to libnotmuch_util will allow re-user from
either multiple CLI compilation units or from the library. To avoid
future surprises, replace printing to stderr with the usual status
string mechanism.
notmuch-insert.c
util/path-util.c
util/path-util.h