mirror of
https://github.com/gitui-org/gitui.git
synced 2026-10-12 02:14:16 +00:00
we used a BTreeMap where ordering does not matter and HashMap performs much better
filetreelist
This crate is designed as part of the gitui project.
filetreelist provides a very common functionality of gitui: lists of files visualized as a tree. It allows efficient iteration of only the visual (non collapsed) elements and change the tree state correctly given well defined inputs like Up/Down/Collapse.
It is the main driver behind the file tree feature:
