google / google/codesearch

Exclude subdirectories

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

I would like to add exclusion of subdirectories to `cindex`. For example indexing of chromium `/src` takes about 50 seconds while only 20 seconds if I exclude `/src/out` and `/src/third_party`.
Right now it works like `cindex --exclude /src/out --exclude /src/tmp /src` plus I have to pass excludes if I want to re-index. As I understand the way to integrate that is to modify index format to store list of excluded directories. Is it OK to introduce such backward incompatible changes?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.