MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / join_changelog

Function join_changelog

scripts/prepare-release.py:112–116  ·  view source on GitHub ↗
(preface: list[str], blocks: list[dict])

Source from the content-addressed store, hash-verified

110
111
112def join_changelog(preface: list[str], blocks: list[dict]) -> str:
113 parts = ["\n".join(preface)]
114 for b in blocks:
115 parts.append("\n".join([b["header"], *b["body"]]))
116 return "\n".join(parts)
117
118
119def split_subsections(body: list[str]):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected