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

Function peekLine

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

Source from the content-addressed store, hash-verified

28}
29
30function peekLine(ctx) {
31 if (ctx.lineIndex >= ctx.lines.length) {
32 return null;
33 }
34 return ctx.lines[ctx.lineIndex];
35}
36
37function readVersionHeader(ctx) {
38 // Extract the version number.

Callers 1

readVersionHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected