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

Function getNsJailCfgFilePath

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

Source from the content-addressed store, hash-verified

216}
217
218export function getNsJailCfgFilePath(configName: string): string {
219 const propKey = `nsjail.config.${configName}`;
220 const configPath = execProps<string>(propKey);
221 if (configPath === undefined) {
222 logger.error(`Could not find ${propKey}. Are you missing a definition?`);
223 throw new Error(`Missing nsjail execution config property key ${propKey}`);
224 }
225 return configPath;
226}
227
228export function getCeWrapperCfgFilePath(configName: string): string {
229 const propKey = `cewrapper.config.${configName}`;

Callers 1

getNsJailOptionsFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected