pub fn resolve_index_path(
settings: &Settings,
config_path: Option<&Path>,
) -> PathBufExpand description
Resolve the index path from settings, accounting for –config flag usage
When using –config from outside the project:
- If index_path is absolute: use as-is
- If index_path is relative and config_path provided: resolve relative to config file
- If workspace_root is set: resolve relative to workspace_root
- Otherwise: use as-is (will be relative to CWD)