Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
function
peekLine(ctx) {
31
if
(ctx.lineIndex >= ctx.lines.length) {
32
return
null;
33
}
34
return
ctx.lines[ctx.lineIndex];
35
}
36
37
function
readVersionHeader(ctx) {
38
// Extract the version number.
Callers
1
readVersionHeader
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected