MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getLayoutModelForTabById

Function getLayoutModelForTabById

frontend/layout/lib/layoutModelHooks.ts:39–43  ·  view source on GitHub ↗
(tabId: string)

Source from the content-addressed store, hash-verified

37}
38
39function getLayoutModelForTabById(tabId: string) {
40 const tabOref = WOS.makeORef("tab", tabId);
41 const tabAtom = WOS.getWaveObjectAtom<Tab>(tabOref);
42 return getLayoutModelForTab(tabAtom);
43}
44
45export function getLayoutModelForStaticTab() {
46 const tabId = globalStore.get(atoms.staticTabId);

Callers 1

Calls 1

getLayoutModelForTabFunction · 0.85

Tested by

no test coverage detected