MCPcopy Index your code
hub / github.com/compiler-explorer/compiler-explorer / getFirejailProfileFilePath

Function getFirejailProfileFilePath

lib/exec.ts:238–246  ·  view source on GitHub ↗
(profileName: string)

Source from the content-addressed store, hash-verified

236}
237
238export function getFirejailProfileFilePath(profileName: string): string {
239 const propKey = `firejail.profile.${profileName}`;
240 const profilePath = execProps<string>(propKey);
241 if (profilePath === undefined) {
242 logger.error(`Could not find ${propKey}. Are you missing a definition?`);
243 throw new Error(`Missing firejail execution profile property key ${propKey}`);
244 }
245 return profilePath;
246}
247
248const jailedHomeDir = '/app';
249

Callers 3

sandboxFirejailFunction · 0.85
asyncSetupFunction · 0.85
executeFirejailFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected