]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add virFileMakeParentPath helper function
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 30 Jan 2014 17:06:39 +0000 (17:06 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 18 Feb 2014 12:39:06 +0000 (12:39 +0000)
commitc321bfc5c37c603af349dacf531bb03c91b0755e
treea469d1088770c4e06798567e2e2f246214ddb4de
parentc3eb12cace868884393d35c23278653634d81c70
Add virFileMakeParentPath helper function

Add a helper function which takes a file path and ensures
that all directory components leading up to the file exist.
IOW, it strips the filename part of the path and passes
the result to virFileMakePath.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt_private.syms
src/util/virfile.c
src/util/virfile.h