]> git.cworth.org Git - notmuch/commitdiff
lib/open: refactor call to mkdir into function
authorDavid Bremner <david@tethera.net>
Thu, 28 Jul 2022 10:41:02 +0000 (06:41 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 3 Sep 2022 11:24:43 +0000 (08:24 -0300)
This makes the error handling available for re-use. Using
g_mkdir_with_parents also handles the case of a pre-existing
directory. This introduces new functionality, namely creating the
parent directories, which will be useful for creating directories like
'.local/share/notmuch/default'.


No differences found