From 5f3e73e59245ebff989930b5489beaa4f5c9e139 Mon Sep 17 00:00:00 2001 From: "Albert S." Date: Wed, 1 Oct 2025 14:05:22 +0200 Subject: [PATCH] Retire file_exists() --- adhocify.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/adhocify.c b/adhocify.c index 44566d0..8be4f73 100644 --- a/adhocify.c +++ b/adhocify.c @@ -160,11 +160,6 @@ bool path_is_directory(const char *path) return S_ISDIR(sb.st_mode); } -static inline bool file_exists(const char *path) -{ - return access(path, F_OK) == 0; -} - void add_to_ignore_list(const char *str) { *ignorelist_current = xmalloc(sizeof(struct ignorelist));