Resolves and returns repository path as absolute path string.
(path: Optional[str])
| 16 | |
| 17 | |
| 18 | def get_repo_path(path: Optional[str]) -> str: |
| 19 | """Resolves and returns repository path as absolute path string.""" |
| 20 | if path is None: |
| 21 | return str(Path.cwd().resolve()) |
| 22 | return str(Path(path).resolve()) |
| 23 | |
| 24 | |
| 25 | def load_cgc_credentials(context: Optional[str]): |
no test coverage detected