mirror of
https://gitee.com/johng/gf
synced 2026-07-07 22:27:06 +08:00
The previous special case logic that checked 'MainOnly && isModuleRootPackage' is now redundant since: 1. ShouldInclude() now properly checks MainModuleOnly parameter 2. The filtering logic in ShouldInclude() is more comprehensive 3. Keeping only the central filtering in ShouldInclude() reduces code duplication The filtering is now consistently applied via ShouldInclude() across all code paths.