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

Function extractVersion

scripts/ufs_statistic_old.js:815–817  ·  view source on GitHub ↗
(log)

Source from the content-addressed store, hash-verified

813 return / -> (\d+)/.exec(log)?.[1] || "";
814}
815function extractVersion(log) {
816 return / \((.*?)-\d*\)/.exec(log)?.[1] || "";
817}
818
819function isScript(log) {
820 return !(

Callers 1

onDocumentEndFunction · 0.70

Calls 1

execMethod · 0.45

Tested by

no test coverage detected