summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-03 21:14:08 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-03 21:14:08 +0100
commit26bb40b2f9cf10eb8aaf4f6ac53585ef73be5134 (patch)
tree42766231bc5c69c347ebd239c9451b08128ec0ba /src/search.h
parent16d695eee026947899f2168905bae39f4e3c5895 (diff)
implement file filtering
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/search.h b/src/search.h
index b8cfb24..f8ddc6c 100644
--- a/src/search.h
+++ b/src/search.h
@@ -21,6 +21,7 @@ typedef struct t_ts_search_result
// data
ts_array files;
ts_array matches;
+ ts_array filters;
int match_count;
int file_count;
@@ -34,6 +35,7 @@ typedef struct t_ts_search_result
// search query
utf8_int8_t *directory_to_search;
+ utf8_int8_t *file_filter;
utf8_int8_t *search_text;
int max_ts_thread_count;
int max_file_size;