Identify Worktree entries by their inode
This will allow us to re-parent elements when re-scanning when the file system changes.
This commit is contained in:
@@ -1225,7 +1225,7 @@ impl workspace::ItemView for BufferView {
|
||||
}
|
||||
}
|
||||
|
||||
fn entry_id(&self, app: &AppContext) -> Option<(usize, usize)> {
|
||||
fn entry_id(&self, app: &AppContext) -> Option<(usize, u64)> {
|
||||
self.buffer.read(app).entry_id()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user