(path: Path)
| 424 | |
| 425 | |
| 426 | def file_kind(path: Path) -> str: |
| 427 | s = path.suffix.lower() |
| 428 | if s == ".ipynb": |
| 429 | return "ipynb" |
| 430 | if s in {".md", ".markdown"}: |
| 431 | return "md" |
| 432 | return "other" |
| 433 | |
| 434 | |
| 435 | def _parse_git_iso_date(out: str) -> date | None: |