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

Function runPostAttachCommand

src/spec-common/injectHeadless.ts:448–450  ·  view source on GitHub ↗
(params: ResolverParameters, lifecycleCommandOriginMap: LifecycleHooksInstallMap, containerProperties: ContainerProperties, remoteEnv: Promise<Record<string, string>>, secrets: Promise<Record<string, string>>)

Source from the content-addressed store, hash-verified

446}
447
448async function runPostAttachCommand(params: ResolverParameters, lifecycleCommandOriginMap: LifecycleHooksInstallMap, containerProperties: ContainerProperties, remoteEnv: Promise<Record<string, string>>, secrets: Promise<Record<string, string>>) {
449 await runLifecycleCommands(params, lifecycleCommandOriginMap, containerProperties, 'postAttachCommand', remoteEnv, secrets, true);
450}
451
452
453async function runLifecycleCommands(params: ResolverParameters, lifecycleCommandOriginMap: LifecycleHooksInstallMap, containerProperties: ContainerProperties, lifecycleHookName: 'onCreateCommand' | 'updateContentCommand' | 'postCreateCommand' | 'postStartCommand' | 'postAttachCommand', remoteEnv: Promise<Record<string, string>>, secrets: Promise<Record<string, string>>, doRun: boolean) {

Callers 1

runLifecycleHooksFunction · 0.85

Calls 1

runLifecycleCommandsFunction · 0.85

Tested by

no test coverage detected