Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ isValidReference
Function
isValidReference
scripts/format-changelog.js:76–79 ·
view source on GitHub ↗
(ref)
Source
from the content-addressed store, hash-verified
74
}
75
76
function
isValidReference(ref) {
77
const
regex = /^\w*#\d+( \(partial\))?$/;
78
return
regex.test(ref);
79
}
80
81
function
readVersionEntry(ctx, rawEntry, versionInfo) {
82
// Check for the '- ' prefix
Callers
1
readVersionEntry
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected