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

Function extractTotalCount

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

Source from the content-addressed store, hash-verified

612 return /: (.*?) \(/.exec(log)?.[1] || "";
613}
614function extractTotalCount(log) {
615 return / -> (\d+)/.exec(log)?.[1] || "";
616}
617function extractVersion(log) {
618 return / \((.*?)-\d*\)/.exec(log)?.[1] || "";
619}

Callers 1

onDocumentEndFunction · 0.70

Calls 1

execMethod · 0.45

Tested by

no test coverage detected