Refactored workspaces API and corrected method headers + fixed bug caused by migration failures
co-authored-by: kay@zed.dev
This commit is contained in:
parent
3451a3c7fe
commit
ddecba143f
5 changed files with 12 additions and 38 deletions
|
@ -14,9 +14,7 @@ fn main() -> anyhow::Result<()> {
|
|||
let f = File::create(file)?;
|
||||
drop(f);
|
||||
|
||||
let workspace = db.make_new_workspace::<String>(&[]);
|
||||
|
||||
db.update_worktrees(&workspace.workspace_id, &["/tmp"]);
|
||||
let workspace = db.workspace_for_roots(&["/tmp"]);
|
||||
|
||||
db.save_dock_pane(SerializedDockPane {
|
||||
workspace: workspace.workspace_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue