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

Function parseList

kms/auth-mock/index.ts:51–54  ·  view source on GitHub ↗
(envVar: string)

Source from the content-addressed store, hash-verified

49}
50
51function parseList(envVar: string): Set<string> {
52 const raw = process.env[envVar] || '';
53 return new Set(raw.split(',').map(s => s.trim().toLowerCase()).filter(Boolean));
54}
55
56// mock backend class - no blockchain interaction
57class MockBackend {

Callers 1

checkBootMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected