ZIm/crates/copilot/src
Michael Sloan 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
..
copilot.rs Add File.disk_state enum to clarify filesystem states (#20776) 2024-11-18 10:30:08 -08:00
copilot_chat.rs assistant: Remove low_speed_timeout (#20681) 2024-11-15 07:37:31 +01:00
copilot_completion_provider.rs Support .editorconfig (#19455) 2024-10-21 13:05:30 +03:00
request.rs lsp: Revert URL type change (#13193) 2024-06-18 12:39:56 +02:00
sign_in.rs Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00