(specifier: &str)
| 553 | } |
| 554 | |
| 555 | fn is_simple_python_module_specifier(specifier: &str) -> bool { |
| 556 | !specifier.is_empty() |
| 557 | && !specifier.starts_with('.') |
| 558 | && specifier |
| 559 | .split('.') |
| 560 | .all(|part| !part.is_empty() && part.chars().all(|ch| ch.is_ascii_alphanumeric() || ch == '_')) |
| 561 | } |
| 562 | |
| 563 | fn build_import_path_candidates(language: SupportedLanguage, normalized: &str) -> Vec<String> { |
| 564 | let trimmed = normalized.trim_end_matches('/'); |
no outgoing calls
no test coverage detected
searching dependent graphs…