Problem
The src/manifest.rs file has grown to approximately 490 lines, exceeding the 400-line guideline specified in the coding standards.
Solution
Extract glob-specific helper functions into a new submodule src/manifest/glob.rs:
- Move
process_glob_entry(), normalise_separators(), and glob_paths()
- Keep function signatures unchanged
- Use
pub(crate) visibility or re-export through mod glob
- Update
from_str_named() to use super::glob_paths
- Ensure public API surface remains unchanged
- Update module declarations and imports accordingly
Context
This issue was identified during PR review where glob functionality was added to the manifest module.
References
Problem
The
src/manifest.rsfile has grown to approximately 490 lines, exceeding the 400-line guideline specified in the coding standards.Solution
Extract glob-specific helper functions into a new submodule
src/manifest/glob.rs:process_glob_entry(),normalise_separators(), andglob_paths()pub(crate)visibility or re-export throughmod globfrom_str_named()to usesuper::glob_pathsContext
This issue was identified during PR review where glob functionality was added to the manifest module.
References