MCPcopy Index your code
hub / github.com/coder/mux / shouldCleanupDevcontainer

Function shouldCleanupDevcontainer

src/node/runtime/devcontainerCli.ts:120–126  ·  view source on GitHub ↗
(result: DevcontainerUpResultLine)

Source from the content-addressed store, hash-verified

118}
119
120export function shouldCleanupDevcontainer(result: DevcontainerUpResultLine): boolean {
121 return (
122 result.outcome === "error" &&
123 typeof result.containerId === "string" &&
124 result.containerId.trim().length > 0
125 );
126}
127/** Output from `devcontainer up` command */
128export interface DevcontainerUpResult {
129 containerId: string;

Callers 2

finalizeErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected