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

Function listSubFolders

frontend/src/views/sql-editor/Sheet/context.ts:449–455  ·  view source on GitHub ↗
(parent)

Source from the content-addressed store, hash-verified

447 return useSheetContextStore.getState().viewStates[view].folders;
448 },
449 listSubFolders(parent) {
450 return useSheetContextStore
451 .getState()
452 .viewStates[view].folders.filter((path) =>
453 isSubFolder({ parent, path, dig: false })
454 );
455 },
456 ensureFolderPath(path) {
457 return ensureFolderPath(view, path);
458 },

Callers

nothing calls this directly

Calls 1

isSubFolderFunction · 0.90

Tested by

no test coverage detected