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

Function searchMatch

frontend/src/react/components/sql-editor/FolderForm.tsx:102–105  ·  view source on GitHub ↗
(node: TreeDataNode<WorksheetFolderNode>)

Source from the content-addressed store, hash-verified

100 const treeData = folderTree.children.map(toTreeData);
101
102 const searchMatch = (node: TreeDataNode<WorksheetFolderNode>) => {
103 if (!folderPath) return true;
104 return node.data.key.includes(folderPath);
105 };
106
107 return (
108 <div className="flex flex-col gap-y-2">

Callers 2

TreeFunction · 0.50
countVisibleRowsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected