aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dirstore_test.go
Commit message (Collapse)AuthorAgeFilesLines
* dirstore: list the folders in arrival orderKoni Marti2023-05-281-0/+23
List the folders in arrival order when dirstore.List() is called instead of returning it in an arbitrary order. If enable-folders-sort=false and dirlist-tree=false, the directory list will arbitrarly reshuffle when changing directories because the dirlist.dirs are generated from keys in a map in the dirstore. Fixes: https://todo.sr.ht/~rjarry/aerc/178 Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>