pub fn resolve_module_path(
root: &Path,
module_name: &str,
include_paths: &[String],
) -> Option<PathBuf>Expand description
Resolve a Perl module name to a workspace-relative filesystem path candidate.
The search order is:
- Each configured include path in order:
- Relative paths are resolved under
rootand validated against traversal. - Absolute paths are treated as literal external roots.
- Relative paths are resolved under
- Fallback to
root/lib/<module>.pm.