Canop / Canop/broot

--show-gitignored, but do not enter

Open
#409 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12.9k
Forks
314
Avg merge
1d 6h
Merged PRs (30d)
6

Description

`broot` allows special paths in the config:
```
special_paths: {
"/media/slow-backup-disk" : no-enter
"/home/dys/useless" : hide
"/home/dys/my-link-I-want-to-explore" : enter
}
```
which are quite useful for dealing e.g. with `.git` folders:
```
special_paths: {
"**/.git": no-enter
}
```
so they are still visible in `broot` (especially when used as a replaced for `tree`), but don't mess the output with their content.

It would be nice to achieve similar effect with git-ignored directores.

Contributor guide

Open the contributing guide

Research direction

Start by locating broot's handling of the `special_paths` configuration and its traversal of git-ignored directories. Compare the requested `no-enter` behavior with the existing `**/.git` example and determine how `--show-gitignored` currently affects directory descent. Done means ignored directories remain visible while their contents are not entered.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.