
21 Jul
2023
21 Jul
'23
2:27 p.m.
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 <mprivozn@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 <jtomko@redhat.com> Jano