feat(UI): Select file to Query or Delete + Delete ALL (#1612)

---------

Co-authored-by: Robin Boone <rboone@sofics.com>
This commit is contained in:
Iván Martínez
2024-02-16 17:36:09 +01:00
committed by GitHub
parent 24fb80ca38
commit aa13afde07
6 changed files with 161 additions and 18 deletions

View File

@@ -18,10 +18,11 @@ class LocalIngestWorker:
self.total_documents = 0
self.current_document_count = 0
self._files_under_root_folder: list[Path] = list()
self._files_under_root_folder: list[Path] = []
def _find_all_files_in_folder(self, root_path: Path, ignored: list[str]) -> None:
"""Search all files under the root folder recursively.
Count them at the same time
"""
for file_path in root_path.iterdir():