(path: Path)
| 416 | |
| 417 | |
| 418 | def _display_path(path: Path) -> str: |
| 419 | resolved = path.resolve() |
| 420 | try: |
| 421 | return str(resolved.relative_to(PROJECT_ROOT.resolve())).replace("\\", "/") |
| 422 | except ValueError: |
| 423 | return str(resolved) |
| 424 | |
| 425 | |
| 426 | def _directory_size_bytes(path: Path, max_files: int = 5000) -> int: |
no outgoing calls
no test coverage detected