I would like to get a list of the entries in a git repository.
Say there is this repository
https://github.com/owner/project with the structure:
- src - lib.rs - a.rs - Cargo.toml - README.md
How would I get an iterator over
src, that will return
[lib.rs, a.rs] (assuming I also know which branch I want to be on) ? Do I need to clone the whole repository, or is there a better way ?