(&self, name: &str)
| 377 | |
| 378 | fn resolve_module_source( |
| 379 | &self, |
| 380 | path: &str, |
| 381 | base_source_path: Option<&Path>, |
| 382 | ) -> Result<Option<ResolvedModuleSource>, String> { |
| 383 | if Self::is_filesystem_import(path) { |
| 384 | let raw_path = Path::new(path); |
| 385 | let candidate = if raw_path.is_absolute() { |
| 386 | raw_path.to_path_buf() |
| 387 | } else { |
| 388 | let base_dir = base_source_path |
| 389 | .and_then(Path::parent) |
no test coverage detected