Allow walk to take an integer value
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Currently walk is either True (walk the whole tree) or False (only consider the top level). It would be good to enable specifying the depth exactly.
As a possible addition, using fsspec's depth-first walk would allow skipping ignored directory names ealier.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation and tests for the walk option, then review how the current True and False values select tree depth. Check fsspec's depth-first walk behavior, especially ignored directory names, and define tests showing that an integer selects exactly that depth and that the existing boolean behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100