From f06c18765f2029c7824c99e3628c13b9bafb3979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=B0=8F=E7=99=BD?= <364772080@qq.com> Date: Tue, 2 Sep 2025 22:12:24 +0800 Subject: [PATCH] Rename from `create_ssh_worktree` to `create_remote_worktree` (#37358) This is a left-over issue of #37035 Release Notes: - N/A --- crates/project/src/worktree_store.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/project/src/worktree_store.rs b/crates/project/src/worktree_store.rs index b814e46bd1584cb076a057623b8b66800365876d..1eeeefc40ad09012e5d280c0821052cd6f8db098 100644 --- a/crates/project/src/worktree_store.rs +++ b/crates/project/src/worktree_store.rs @@ -228,7 +228,7 @@ impl WorktreeStore { Task::ready(Err(Arc::new(anyhow!("cannot create worktrees via collab")))) } else { let abs_path = RemotePathBuf::new(abs_path.to_path_buf(), *path_style); - self.create_ssh_worktree(upstream_client.clone(), abs_path, visible, cx) + self.create_remote_worktree(upstream_client.clone(), abs_path, visible, cx) } } WorktreeStoreState::Local { fs } => { @@ -251,7 +251,7 @@ impl WorktreeStore { }) } - fn create_ssh_worktree( + fn create_remote_worktree( &mut self, client: AnyProtoClient, abs_path: RemotePathBuf,