MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / extractVersion

Function extractVersion

scripts/ufs_statistic.js:617–619  ·  view source on GitHub ↗
(log)

Source from the content-addressed store, hash-verified

615 return / -> (\d+)/.exec(log)?.[1] || "";
616}
617function extractVersion(log) {
618 return / \((.*?)-\d*\)/.exec(log)?.[1] || "";
619}
620
621function isScript(log) {
622 return !(

Callers 1

onDocumentEndFunction · 0.70

Calls 1

execMethod · 0.45

Tested by

no test coverage detected