MCPcopy 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
76function isValidReference(ref) {
77 const regex = /^\w*#\d+( \(partial\))?$/;
78 return regex.test(ref);
79}
80
81function readVersionEntry(ctx, rawEntry, versionInfo) {
82 // Check for the '- ' prefix

Callers 1

readVersionEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected