MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / getCeWrapperCfgFilePath

Function getCeWrapperCfgFilePath

lib/exec.ts:228–236  ·  view source on GitHub ↗
(configName: string)

Source from the content-addressed store, hash-verified

226}
227
228export function getCeWrapperCfgFilePath(configName: string): string {
229 const propKey = `cewrapper.config.${configName}`;
230 const configPath = execProps<string>(propKey);
231 if (configPath === undefined) {
232 logger.error(`Could not find '${propKey}'. Are you missing a definition?`);
233 throw new Error(`Missing cewrapper execution config property key '${propKey}'`);
234 }
235 return path.resolve(configPath);
236}
237
238export function getFirejailProfileFilePath(profileName: string): string {
239 const propKey = `firejail.profile.${profileName}`;

Callers 1

getCeWrapperOptionsFunction · 0.85

Calls 2

errorMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected