ZIm/crates/collab/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
..
api Paginate through extensions from the blob store (#12614) 2024-06-03 17:17:46 -04:00
bin Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
db Reduce DB load upon initial connection due to channel loading (#12500) 2024-05-30 13:02:55 -07:00
rpc open new buffer (#11203) 2024-04-30 16:09:43 -06:00
tests Refactor: Make it possible to share a remote worktree (#12775) 2024-06-07 12:53:01 -07:00
ai.rs New revision of the Assistant Panel (#10870) 2024-04-23 16:23:26 -07:00
api.rs Rust 1.78 (#11314) 2024-05-05 15:02:50 +02:00
auth.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs Reduce DB load upon initial connection due to channel loading (#12500) 2024-05-30 13:02:55 -07:00
env.rs Add an extensions API to the collaboration server (#7807) 2024-02-15 12:53:57 -08:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
main.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
rate_limiter.rs Fix logic errors in RateLimiter (#12421) 2024-05-29 12:05:40 +02:00
rpc.rs Allow restarting remote language servers (#12652) 2024-06-04 14:09:01 -06:00
seed.rs Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
tests.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00