MCPcopy 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
149const rootPathFor = (view: SheetViewMode) => `/${view}`;
150
151const emptyRootNode = (view: SheetViewMode): WorksheetFolderNode => ({
152 key: rootPathFor(view),

Callers 7

emptyRootNodeFunction · 0.85
emptyViewStateFunction · 0.85
context.tsFile · 0.85
reloadFromStorageFunction · 0.85
rootTreeNodeForFunction · 0.85
ensureFolderPathFunction · 0.85
buildFolderContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected