MCPcopy Index your code
hub / github.com/devcontainers/cli / setUp

Function setUp

src/spec-node/devContainersSpecCLI.ts:392–400  ·  view source on GitHub ↗
(args: SetUpArgs)

Source from the content-addressed store, hash-verified

390}
391
392async function setUp(args: SetUpArgs) {
393 const result = await doSetUp(args);
394 const exitCode = result.outcome === 'error' ? 1 : 0;
395 await new Promise<void>((resolve, reject) => {
396 process.stdout.write(JSON.stringify(result) + '\n', err => err ? reject(err) : resolve());
397 });
398 await result.dispose();
399 process.exit(exitCode);
400}
401
402async function doSetUp({
403 'user-data-folder': persistedFolder,

Callers

nothing calls this directly

Calls 4

doSetUpFunction · 0.85
resolveFunction · 0.85
writeMethod · 0.65
disposeMethod · 0.65

Tested by

no test coverage detected