Get lowercase file extension including the dot.
(path: str)
| 53 | |
| 54 | |
| 55 | def _get_extension(path: str) -> str: |
| 56 | """Get lowercase file extension including the dot.""" |
| 57 | _, ext = os.path.splitext(path) |
| 58 | return ext.lower() |
| 59 | |
| 60 | |
| 61 | def _download_to_temp(url: str) -> tuple[str, str]: |
no outgoing calls
no test coverage detected