From f8aa7d2a399ba7427e22c474191b1bd3331b647c Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 16 Mar 2024 11:49:21 +0100 Subject: retrieve file size during dir iteration instead of after opening file --- src/search.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/search.h') diff --git a/src/search.h b/src/search.h index 27c7f04..e01aef2 100644 --- a/src/search.h +++ b/src/search.h @@ -7,6 +7,7 @@ typedef struct t_ts_found_file { utf8_int8_t *path; + size_t file_size; uint32_t match_count; uint16_t error; bool collapsed; -- cgit v1.2.3-70-g09d2