Rename from create_ssh_worktree to create_remote_worktree (#37358)

This is a left-over issue of #37035

Release Notes:

- N/A
This commit is contained in:
张小白
2025-09-02 14:12:24 +00:00
committed by GitHub
parent 2f279c5de4
commit f06c18765f
+2 -2
View File
@@ -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,