(module_name: str)
| 331 | |
| 332 | |
| 333 | def _module_path(module_name: str) -> str: |
| 334 | try: |
| 335 | mod = __import__(module_name) |
| 336 | p = getattr(mod, "__file__", None) |
| 337 | return str(Path(p).resolve()) if p else "unknown" |
| 338 | except Exception: |
| 339 | return "unknown" |
| 340 | |
| 341 | |
| 342 | def _safe_tail(pathlike: object) -> str: |
no outgoing calls
no test coverage detected