On a Friday in 2023, Michal Privoznik wrote:
There might be cases where we want to know whether given
directory is empty or not. Introduce a helper for that:
virDirIsEmpty().

Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
---
src/libvirt_private.syms |  1 +
src/util/virfile.c       | 39 +++++++++++++++++++++++++++++++++++++++
src/util/virfile.h       |  3 +++
3 files changed, 43 insertions(+)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to