summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-16 11:49:21 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-16 11:49:21 +0100
commitf8aa7d2a399ba7427e22c474191b1bd3331b647c (patch)
tree464432a37e34f39c188aefef690466119288d86e /src/search.h
parentfe4cf7b218974a05af58851878ba65d5f0e1f348 (diff)
retrieve file size during dir iteration instead of after opening file
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h1
1 files changed, 1 insertions, 0 deletions
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;