WIP: Start on updating file handles
Co-Authored-By: Max Brunsfeld <max@zed.dev> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Max Brunsfeld
Nathan Sobo
parent
111d98d6c1
commit
6535304da8
@@ -429,7 +429,7 @@ impl Buffer {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn path(&self) -> Option<&Arc<Path>> {
|
||||
pub fn path(&self) -> Option<Arc<Path>> {
|
||||
self.file.as_ref().map(|file| file.path())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user