Added extra sql methods
This commit is contained in:
parent
37174f45f0
commit
2dc1130902
3 changed files with 49 additions and 14 deletions
|
@ -568,6 +568,7 @@ impl Item for Editor {
|
|||
if let Some(project_item) = project.update(cx, |project, cx| {
|
||||
// Look up the path with this key associated, create a self with that path
|
||||
let path = DB.get_path(item_id, workspace_id).ok()?;
|
||||
|
||||
let (worktree, path) = project.find_local_worktree(&path, cx)?;
|
||||
let project_path = ProjectPath {
|
||||
worktree_id: worktree.read(cx).id(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue