gitui/filetreelist
Stephan Dilly 869e4b7287
fix path handling on windows (#762)
* this reduces memory overhead where nothing is folded up
* makes folding work with windows path seperators
2021-06-03 00:06:28 +02:00
..
src fix path handling on windows (#762) 2021-06-03 00:06:28 +02:00
Cargo.toml improve filetree::new performance (#760) 2021-06-02 00:14:51 +02:00
demo.gif [ImgBot] Optimize images 2021-05-28 11:20:47 +02:00
LICENSE.md rename filetree crate to prepare for publish 2021-05-28 11:10:11 +02:00
README.md fix demo gif location 2021-05-28 11:34:35 +02:00

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:

demo