MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / readVersionBlock

Function readVersionBlock

scripts/format-changelog.js:162–171  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

160}
161
162function readVersionBlock(ctx) {
163 const versionInfo = readVersionHeader(ctx);
164 const entries = readVersionEntries(ctx, versionInfo);
165 return {
166 version: versionInfo.version,
167 date: versionInfo.date,
168 headline: versionInfo.headline,
169 entries: entries
170 };
171}
172
173function parseChangelog(changelog) {
174 // Split the changelog into lines but also keep the line numbers.

Callers 1

parseChangelogFunction · 0.85

Calls 2

readVersionHeaderFunction · 0.85
readVersionEntriesFunction · 0.85

Tested by

no test coverage detected