(ctx context.Context, tabId string, newName string)
| 156 | } |
| 157 | |
| 158 | func (ws *WshServer) UpdateTabNameCommand(ctx context.Context, tabId string, newName string) error { |
| 159 | oref := waveobj.ORef{OType: waveobj.OType_Tab, OID: tabId} |
| 160 | err := wstore.UpdateTabName(ctx, tabId, newName) |
| 161 | if err != nil { |
| 162 | return fmt.Errorf("error updating tab name: %w", err) |
| 163 | } |
| 164 | wcore.SendWaveObjUpdate(oref) |
| 165 | return nil |
| 166 | } |
| 167 | |
| 168 | func (ws *WshServer) UpdateWorkspaceTabIdsCommand(ctx context.Context, workspaceId string, tabIds []string) error { |
| 169 | oref := waveobj.ORef{OType: waveobj.OType_Workspace, OID: workspaceId} |
nothing calls this directly
no test coverage detected