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

Function calcAppId

vmm/ui/src/composables/useVmManager.ts:911–914  ·  view source on GitHub ↗
(compose: string)

Source from the content-addressed store, hash-verified

909 }
910
911 async function calcAppId(compose: string) {
912 const composeHash = await calcComposeHash(compose);
913 return composeHash.slice(0, 40);
914 }
915
916 async function encryptEnv(envs: EncryptedEnvEntry[], kmsEnabled: boolean, appId: string | null) {
917 if (!kmsEnabled || envs.length === 0) {

Callers 1

encryptEnvFunction · 0.85

Calls 1

calcComposeHashFunction · 0.85

Tested by

no test coverage detected