Normalize ``~``, ``.``, and ``..`` to an absolute path string.
(file_path: str)
| 36 | # --------------------------------------------------------------------------- |
| 37 | |
| 38 | def _expand_path(file_path: str) -> str: |
| 39 | """Normalize ``~``, ``.``, and ``..`` to an absolute path string.""" |
| 40 | return str(Path(file_path).expanduser().resolve()) |
| 41 | |
| 42 | |
| 43 | # --------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected