Represents all entries for a specific version.
| 426 | |
| 427 | |
| 428 | class VersionSection: |
| 429 | """Represents all entries for a specific version.""" |
| 430 | |
| 431 | def __init__(self, version: str): |
| 432 | self.version = version |
| 433 | self.entries: List[ChangeEntry] = [] |
| 434 | |
| 435 | def add_entry(self, entry: ChangeEntry): |
| 436 | """Add an entry to this version.""" |
| 437 | self.entries.append(entry) |
| 438 | |
| 439 | def get_directory_name(self) -> str: |
| 440 | """Get the directory name for this version (e.g., 'v10.0.0').""" |
| 441 | return f"v{self.version}" |
| 442 | |
| 443 | |
| 444 | class ChangesParser: |
no outgoing calls
no test coverage detected
searching dependent graphs…