Files
oak-gpui/crates
Michael SloanandMikayla Maki d99f5fe83e Add File.disk_state enum to clarify filesystem states (#20776)
Motivation for this is to make things more understandable while figuring
out #20775.

This is intended to be a refactoring that does not affect behavior, but
there are a few tricky spots:

* Previously `File.mtime()` (now `File.disk_state().mtime()`) would
return last known modification time for deleted files. Looking at uses,
I believe this will not affect anything. If there are behavior changes
here I believe they would be improvements.

* `BufferEvent::DirtyChanged` is now only emitted if dirtiness actually
changed, rather than if it may have changed. This should only be an
efficiency improvement.

Release Notes:

- N/A

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
2024-11-18 10:30:08 -08:00
..
2024-10-27 19:44:21 -07:00
2024-11-11 18:39:05 +01:00
2024-11-11 18:39:05 +01:00
2024-08-13 23:06:07 -07:00
2024-07-15 17:04:15 -06:00
2024-10-02 13:27:16 +02:00
2024-11-13 10:42:08 -07:00
2024-11-15 12:25:18 -05:00
2024-11-14 08:25:48 -05:00
2024-11-13 11:47:52 -05:00
2024-10-30 11:26:54 -06:00