Restored a lost API and got everything compiling
This commit is contained in:
parent
bcf608e9e9
commit
ae890212e3
2 changed files with 35 additions and 32 deletions
|
@ -4700,6 +4700,8 @@ impl Project {
|
|||
repos: &Vec<RepositoryEntry>,
|
||||
cx: &mut ModelContext<Self>,
|
||||
) {
|
||||
debug_assert!(worktree.read(cx).is_local());
|
||||
|
||||
for (_, buffer) in &self.opened_buffers {
|
||||
if let Some(buffer) = buffer.upgrade(cx) {
|
||||
let file = match File::from_dyn(buffer.read(cx).file()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue