MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / imageVersion

Function imageVersion

vmm/ui/src/composables/useVmManager.ts:630–633  ·  view source on GitHub ↗
(imageName: string)

Source from the content-addressed store, hash-verified

628 }
629
630 const imageVersion = (imageName: string) => {
631 const image = availableImages.value.find((img) => img.name === imageName);
632 return image?.version;
633 };
634
635 const verGE = (versionStr: string, otherVersionStr: string) => {
636 const versionParts = versionStr.split('.').map(Number);

Callers 1

makeAppComposeFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected