Rename open_buffer_for_path
to open_buffer
This commit is contained in:
parent
e6755f4115
commit
6446660c88
5 changed files with 64 additions and 143 deletions
|
@ -816,7 +816,7 @@ impl Workspace {
|
|||
)>,
|
||||
> {
|
||||
let project = self.project().clone();
|
||||
let buffer = project.update(cx, |project, cx| project.open_buffer_for_path(path, cx));
|
||||
let buffer = project.update(cx, |project, cx| project.open_buffer(path, cx));
|
||||
cx.spawn(|this, mut cx| async move {
|
||||
let buffer = buffer.await?;
|
||||
let project_entry_id = buffer.read_with(&cx, |buffer, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue