]> git.notmuchmail.org Git - notmuch/commit
util: refactor sync_dir and mkdir_recursive
authorDavid Bremner <david@tethera.net>
Sat, 24 Jan 2026 22:56:35 +0000 (07:56 +0900)
committerDavid Bremner <david@tethera.net>
Sun, 15 Feb 2026 22:24:18 +0000 (07:24 +0900)
commitc8fcc953b5481e96d698c148325563890848c5ff
tree628fb661213369c6d1abc94da9b5d64289177689
parentb222d18634e95b54010cec02e994d3cc96755746
util: refactor sync_dir and mkdir_recursive

Moving these functions to libnotmuch_util will allow re-use 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