On a Monday in 2021, Michal Privoznik wrote:
While reading through glib manual I've noticed there's
g_mkdir_with_parents() which does the same as our virFileMakePath() and
virFileMakePathWithMode().
Michal Prívozník (4):
virfile: Replace virFileMakePathHelper() with g_mkdir_with_parents()
This patch would make sense separately if the conversion had to be
spread out over months, like we did with VIR_ALLOC. But since you delete
the functions anyway in 4/4, consider squashing 1/4 and 4/4 together.
lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents()
lib: Replace virFileMakePath() with g_mkdir_with_parents()
util: Drop virFileMakePath() and virFileMakePathWithMode()
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano