waveterm/pkg/wshrpc
Evan Simkowitz a72d3e5c7a
Add recursive flag to prevent unwanted deletion of parents while they're already being deleted (#1378)
When a tab was being deleted, for instance, the last block that got
deleted would cascade to delete its parent tab, even though the
`DeleteTab` function was already going to do this. This would produce DB
collisions that would put the app into a bad state. Now we pass a
`recursive` flag that is used to determine whether to perform the
recursive close of the parents.

Also updates `DeleteWorkspace` so that named workspaces will always be
deleted if they're empty, even if `force` is false
2024-12-03 18:39:06 -08:00
..
wshclient Create and rename files and dirs in dirpreview (#1156) 2024-12-02 22:23:44 -08:00
wshremote Create and rename files and dirs in dirpreview (#1156) 2024-12-02 22:23:44 -08:00
wshserver Add recursive flag to prevent unwanted deletion of parents while they're already being deleted (#1378) 2024-12-03 18:39:06 -08:00
wshrpcmeta.go checkpoint on domain sockets + update background colors + transparency (#160) 2024-07-26 13:30:11 -07:00
wshrpctypes.go Create and rename files and dirs in dirpreview (#1156) 2024-12-02 22:23:44 -08:00