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

Method enrichFrontendMetadata

src/node/services/workspaceService.ts:4196–4204  ·  view source on GitHub ↗
(metadata: FrontendWorkspaceMetadata)

Source from the content-addressed store, hash-verified

4194 }
4195
4196 private enrichFrontendMetadata(metadata: FrontendWorkspaceMetadata): FrontendWorkspaceMetadata {
4197 const isInitializing =
4198 this.initStateManager.getInitState(metadata.id)?.status === "running" || undefined;
4199 return {
4200 ...metadata,
4201 isRemoving: this.removingWorkspaces.has(metadata.id) || undefined,
4202 isInitializing,
4203 };
4204 }
4205
4206 private isMultiProjectWorkspacesExperimentEnabled(): boolean {
4207 return (

Callers 8

createMethod · 0.95
createMultiProjectMethod · 0.95
listMethod · 0.95
renameMethod · 0.95
archiveMethod · 0.95
unarchiveMethod · 0.95
forkMethod · 0.95

Calls 2

getInitStateMethod · 0.65
hasMethod · 0.45

Tested by

no test coverage detected