MCPcopy Create free account
hub / github.com/Azure/powershell / isValidVersion

Method isValidVersion

lib/index.js:8538–8540  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

8536 });
8537 }
8538 static isValidVersion(version) {
8539 return !!version.match(Constants_1.default.versionPattern);
8540 }
8541 static isHostedAgent(moduleContainerPath) {
8542 return __awaiter(this, void 0, void 0, function* () {
8543 const script = `Test-Path (Join-Path "${moduleContainerPath}" "az_*")`;

Callers 4

getLatestModuleMethod · 0.45
checkModuleVersionMethod · 0.45
validateInputsFunction · 0.45
Utils.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected