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

Function allocId

src/browser/utils/rightSidebarLayout.ts:190–193  ·  view source on GitHub ↗
(state: RightSidebarLayoutState, prefix: "tabset" | "split")

Source from the content-addressed store, hash-verified

188}
189
190function allocId(state: RightSidebarLayoutState, prefix: "tabset" | "split") {
191 const id = `${prefix}-${state.nextId}`;
192 return { id, nextId: state.nextId + 1 };
193}
194
195function removeTabFromNode(
196 node: RightSidebarLayoutNode,

Callers 2

splitFocusedTabsetFunction · 0.85
dockTabToEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected