stat-util: replace is_dir() + is_dir_fd() by single is_dir_full() call
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Jul 2022 21:43:36 +0000 (23:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 Jul 2022 08:11:50 +0000 (10:11 +0200)
commita586dc791ca465f4087473d2ad6794b7776aee2d
treefd246146bafeea2560816c62914b28d2f905810f
parent3f0dbb0f0c4e3c0013fa5fe54441ca7f969555a7
stat-util: replace is_dir() + is_dir_fd() by single is_dir_full() call

This new call can execute both of the old operations, but also do
generic fstatat() like behaviour.
src/basic/stat-util.c
src/basic/stat-util.h