Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ rootPathFor
Function
rootPathFor
frontend/src/views/sql-editor/Sheet/context.ts:149–149 ·
view source on GitHub ↗
(view: SheetViewMode)
Source
from the content-addressed store, hash-verified
147
}
148
149
const
rootPathFor = (view: SheetViewMode) => `/${view}`;
150
151
const
emptyRootNode = (view: SheetViewMode): WorksheetFolderNode => ({
152
key: rootPathFor(view),
Callers
7
emptyRootNode
Function · 0.85
emptyViewState
Function · 0.85
context.ts
File · 0.85
reloadFromStorage
Function · 0.85
rootTreeNodeFor
Function · 0.85
ensureFolderPath
Function · 0.85
buildFolderContext
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected