ZIm/crates/semantic_index/src
Max Brunsfeld e174f16d50
Refactor: Make it possible to share a remote worktree (#12775)
This PR is an internal refactor in preparation for remote editing. It
restructures the public interface of `Worktree`, reducing the number of
call sites that assume that a worktree is local or remote.

* The Project no longer calls `worktree.as_local_mut().unwrap()` in code
paths related to basic file operations
* Fewer code paths in the app rely on the worktree's `LocalSnapshot`
* Worktree-related RPC message handling is more fully encapsulated by
the `Worktree` type.

to do:
* [x] file manipulation operations
* [x] sending worktree updates when sharing

for later
* opening buffers
* updating open buffers upon worktree changes

Release Notes:

- N/A
2024-06-07 12:53:01 -07:00
..
embedding Introduce /search command to assistant (#12372) 2024-05-28 16:06:09 +02:00
chunking.rs More fixes to the semantic index's chunking (#11376) 2024-05-03 19:00:18 -07:00
embedding.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
project_index_debug_view.rs Make tests less noisy (#12463) 2024-05-29 18:06:45 -07:00
semantic_index.rs Refactor: Make it possible to share a remote worktree (#12775) 2024-06-07 12:53:01 -07:00