stat-util: add statx_verify_directory() helper, similar to stat_verify_directory() but for statx

This commit is contained in:
Lennart Poettering
2026-02-09 10:33:01 +01:00
parent 780f15ee7d
commit f5a7247afb
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ int verify_regular_at(int fd, const char *path, bool follow);
int fd_verify_regular(int fd);
int stat_verify_directory(const struct stat *st);
int statx_verify_directory(const struct statx *stx);
int fd_verify_directory(int fd);
int is_dir_at(int fd, const char *path, bool follow);
int is_dir(const char *path, bool follow);