MCPcopy
hub / github.com/coder/mux / getInitState

Method getInitState

src/node/services/initStateManager.ts:343–345  ·  view source on GitHub ↗

* Get current in-memory init state for a workspace. * Returns undefined if no init state exists.

(workspaceId: string)

Source from the content-addressed store, hash-verified

341 * Returns undefined if no init state exists.
342 */
343 getInitState(workspaceId: string): InitHookState | undefined {
344 return this.store.getState(workspaceId);
345 }
346
347 /**
348 * Read persisted init status from disk.

Callers 1

waitForInitMethod · 0.95

Calls 1

getStateMethod · 0.80

Tested by

no test coverage detected