mirror of
https://github.com/colbymchenry/codegraph.git
synced 2026-10-29 14:49:36 +08:00
* fix: index Java packages named build (#1642) * fix(extraction): preserve Java packages named build (#1642) The default build-directory exclusion hid legal Java package paths before extraction. Retain the contributor's main/test Java source-root exceptions, restricted to directories so other default exclusions survive. Cover filesystem and git enumeration, explicit ignores, indexed retrieval, and incremental sync. Co-authored-by: danusha2345 <ewidusoc498@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(extraction): preserve Java packages named build (#1642) The default build-directory exclusion hid legal Java package paths before extraction. Retain the contributor's main/test Java source-root exceptions, restricted to directories so other default exclusions survive. Cover filesystem and git enumeration, explicit ignores, indexed retrieval, and incremental sync. Co-authored-by: danusha2345 <ewidusoc498@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: danusha2345 <ewidusoc498@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
danusha2345
Claude Opus 5.5
parent
87924a978c
commit
4ebd0d6ff5
@@ -239,6 +239,13 @@ const DEFAULT_IGNORE_PATTERNS: string[] = [
|
||||
'bazel-*/', // Bazel output symlink trees
|
||||
// Android resource dirs at any depth, with their qualifier variants (#1047).
|
||||
...ANDROID_RES_TYPES.map((t) => `**/res/${t}*/`),
|
||||
// `build` is also a legal JVM package segment. Keep it under conventional
|
||||
// source roots (any source set: main, test, androidTest, ...) while continuing
|
||||
// to exclude module/build output (#1642). Unignore only the directory, not its
|
||||
// subtree: other defaults still apply.
|
||||
'!**/src/*/java/**/build/',
|
||||
'!**/src/*/kotlin/**/build/',
|
||||
'!**/src/*/scala/**/build/',
|
||||
];
|
||||
|
||||
/** True if `buf` decodes as strict UTF-8 (no invalid byte sequences). */
|
||||
|
||||
Reference in New Issue
Block a user