Retire file_exists()

此提交包含在:
2025-10-01 14:05:22 +02:00
父節點 0d5e6cd052
當前提交 5f3e73e592

查看文件

@@ -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));