Introduce a WorktreeId struct, fix incorrect use of remote worktrees' handle id
This commit is contained in:
parent
7f8e76e0f1
commit
a4027aacb5
6 changed files with 112 additions and 68 deletions
|
@ -556,7 +556,7 @@ mod tests {
|
|||
workspace
|
||||
.open_entry(
|
||||
ProjectPath {
|
||||
worktree_id: worktree.id(),
|
||||
worktree_id: worktree.read(cx).id(),
|
||||
path: Path::new("the-new-name.rs").into(),
|
||||
},
|
||||
cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue