Files
avante.nvim/lua/avante
Dmitry Torokhov 5e50db3e05 refactor(file_selector): optimize handling of selected files
Sorting function in FileSelector:get_filepaths() is not very efficient
since it has to hit the filesystem each time it is called to determine
if it is dealing with a directory or not.

Optimize performance by figuring this data in get_project_filepaths()
and returning a list of structures containing paths and directory flags,
and use this data in get_filepaths(). Do the absolute->relative
conversion once.

Also use vim.fn.isdirectory() instead of vim.loop.fs_stat() everywhere
in the file.
2025-07-15 16:41:22 +08:00
..
2025-06-25 16:55:10 +08:00
2025-07-09 22:32:05 +08:00
2025-05-06 19:32:55 +08:00
2025-07-15 16:40:25 +08:00
2025-07-10 12:30:06 +08:00
2024-11-23 21:49:33 +08:00