]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virfile: Introduce virFileRemoveLastComponent
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 12 May 2016 11:05:37 +0000 (13:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 13 May 2016 12:17:15 +0000 (14:17 +0200)
commit7fccf12482edf5dfcc6c06700d1dc0dd0250a35c
tree4a457f388ac0840610b888c3cf380181e9cbd3ce
parentbe1a7e6d31f652a6b279c3c9962262ac42c69d0a
virfile: Introduce virFileRemoveLastComponent

Move some parts of virStorageFileRemoveLastPathComponent
into a separate function so they can be reused.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/virfile.c
src/util/virfile.h
src/util/virstoragefile.c