display a list of files given in input
- Dominant language
- Rust
- Stars
- 12.9k
- Forks
- 314
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 6
Description
The discussion started here: https://miaou.dystroy.org/3490?broot#13446020
Two approaches can be considered:
1. use the list as a filter: only files in the list would be displayed
2. use the list as a file system
1 has the benefit that I see how I could do it. 2 would make it possible to display non existing files too.
Maybe a mix of both approaches is possible, and maybe the problem of deleted files in --git-status mode should rather be handled in the general cases (i.e. when no list is given in input) and thus make 1 enough here.
Contributor guide
Research direction
Start with the linked discussion and clarify whether an input list should filter displayed files, act as a virtual filesystem, or combine both. Review the current handling of input lists and --git-status mode, then define completion around a decided behavior for existing and non-existing files, including deleted files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100