Skip to content

discover: unify the exclusion predicate across all filesystem walkers #802

Description

@DeusData

Umbrella follow-up from the #517/#543/#793 review. Today each walker owns a private skip predicate: main discovery honors built-ins + .gitignore stack + .cbmignore; the pkgmap walk honors only hardcoded built-ins; the path-alias walk has its own hardcoded list; envscan's walker is currently uncalled. Result: contradictory semantics (a dir un-skipped by negation would still be vetoed in pkgmap but descended by path_alias).

Target design:

Related: #543 (negation, being re-implemented on cbm_gitignore_match_result), #793, #510 (parent-gitignore half still open), #489.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority/normalStandard review queue; useful PR with ordinary maintainer urgency.stability/performanceServer crashes, OOM, hangs, high CPU/memory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions