MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / initConfig

Function initConfig

lib/aws.ts:115–119  ·  view source on GitHub ↗
(properties: PropertyGetter)

Source from the content-addressed store, hash-verified

113}
114
115export async function initConfig(properties: PropertyGetter) {
116 awsConfigInit = true;
117 awsProps = properties;
118 awsConfig = await loadAwsConfig(properties);
119}
120
121export function getConfig(name: string): string {
122 if (!awsConfigInit) throw new Error("Reading AWS config before it's loaded");

Callers

nothing calls this directly

Calls 1

loadAwsConfigFunction · 0.85

Tested by

no test coverage detected