MCPcopy Create free account
hub / github.com/apache/solr / VersionSection

Class VersionSection

dev-tools/scripts/changes2logchange.py:428–441  ·  view source on GitHub ↗

Represents all entries for a specific version.

Source from the content-addressed store, hash-verified

426
427
428class 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
444class ChangesParser:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…