MCPcopy Create free account
hub / github.com/bytebase/bytebase / getPwdForWorksheet

Function getPwdForWorksheet

frontend/src/views/sql-editor/Sheet/context.ts:547–551  ·  view source on GitHub ↗
(
  view: SheetViewMode,
  worksheet: { folders: string[] }
)

Source from the content-addressed store, hash-verified

545};
546
547const getPwdForWorksheet = (
548 view: SheetViewMode,
549 worksheet: { folders: string[] }
550): string =>
551 getFolderContext(view).ensureFolderPath(worksheet.folders.join("/"));
552
553const getKeyForWorksheet = (
554 view: SheetViewMode,

Callers 3

getKeyForWorksheetFunction · 0.85
rebuildTreeImplFunction · 0.85
buildViewContextFunction · 0.85

Calls 1

getFolderContextFunction · 0.85

Tested by

no test coverage detected