zeta2: Parse imports via Tree-sitter queries + improve zeta retrieval-stats (#39735)
Release Notes: - N/A --------- Co-authored-by: Max <max@zed.dev> Co-authored-by: Agus <agus@zed.dev> Co-authored-by: Oleksiy <oleksiy@zed.dev>
This commit is contained in:
co-authored by
Max
Agus
Oleksiy
parent
5fd187769d
commit
bcef3b5010
@@ -3154,7 +3154,7 @@ impl File {
|
||||
self.worktree.read(cx).id()
|
||||
}
|
||||
|
||||
pub fn project_entry_id(&self, _: &App) -> Option<ProjectEntryId> {
|
||||
pub fn project_entry_id(&self) -> Option<ProjectEntryId> {
|
||||
match self.disk_state {
|
||||
DiskState::Deleted => None,
|
||||
_ => self.entry_id,
|
||||
|
||||
Reference in New Issue
Block a user