Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wavetermdev/waveterm
/ newLayoutTreeState
Function
newLayoutTreeState
frontend/layout/tests/model.ts:6–11 ·
view source on GitHub ↗
(rootNode: LayoutNode)
Source
from the content-addressed store, hash-verified
4
import
{ LayoutNode, LayoutTreeState } from
"../lib/types"
;
5
6
export
function
newLayoutTreeState(rootNode: LayoutNode): LayoutTreeState {
7
return
{
8
rootNode,
9
pendingBackendActions: [],
10
};
11
}
Callers
1
layoutTree.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected