Maintain on the background scanner a set of expanded directories
This commit is contained in:
parent
a305d93567
commit
4c03231863
7 changed files with 250 additions and 48 deletions
|
@ -62,6 +62,8 @@ message Envelope {
|
|||
RenameProjectEntry rename_project_entry = 46;
|
||||
CopyProjectEntry copy_project_entry = 47;
|
||||
DeleteProjectEntry delete_project_entry = 48;
|
||||
ExpandProjectEntry expand_project_entry = 114;
|
||||
CollapseProjectEntry collapse_project_entry = 115;
|
||||
ProjectEntryResponse project_entry_response = 49;
|
||||
|
||||
UpdateDiagnosticSummary update_diagnostic_summary = 50;
|
||||
|
@ -372,6 +374,16 @@ message DeleteProjectEntry {
|
|||
uint64 entry_id = 2;
|
||||
}
|
||||
|
||||
message ExpandProjectEntry {
|
||||
uint64 project_id = 1;
|
||||
uint64 entry_id = 2;
|
||||
}
|
||||
|
||||
message CollapseProjectEntry {
|
||||
uint64 project_id = 1;
|
||||
uint64 entry_id = 2;
|
||||
}
|
||||
|
||||
message ProjectEntryResponse {
|
||||
Entry entry = 1;
|
||||
uint64 worktree_scan_id = 2;
|
||||
|
|
|
@ -150,6 +150,8 @@ messages!(
|
|||
(DeclineCall, Foreground),
|
||||
(DeleteProjectEntry, Foreground),
|
||||
(Error, Foreground),
|
||||
(ExpandProjectEntry, Foreground),
|
||||
(CollapseProjectEntry, Foreground),
|
||||
(Follow, Foreground),
|
||||
(FollowResponse, Foreground),
|
||||
(FormatBuffers, Foreground),
|
||||
|
@ -255,6 +257,8 @@ request_messages!(
|
|||
(CreateRoom, CreateRoomResponse),
|
||||
(DeclineCall, Ack),
|
||||
(DeleteProjectEntry, ProjectEntryResponse),
|
||||
(ExpandProjectEntry, Ack),
|
||||
(CollapseProjectEntry, Ack),
|
||||
(Follow, FollowResponse),
|
||||
(FormatBuffers, FormatBuffersResponse),
|
||||
(GetChannelMessages, GetChannelMessagesResponse),
|
||||
|
@ -311,6 +315,8 @@ entity_messages!(
|
|||
CreateBufferForPeer,
|
||||
CreateProjectEntry,
|
||||
DeleteProjectEntry,
|
||||
ExpandProjectEntry,
|
||||
CollapseProjectEntry,
|
||||
Follow,
|
||||
FormatBuffers,
|
||||
GetCodeActions,
|
||||
|
|
|
@ -6,4 +6,4 @@ pub use conn::Connection;
|
|||
pub use peer::*;
|
||||
mod macros;
|
||||
|
||||
pub const PROTOCOL_VERSION: u32 = 58;
|
||||
pub const PROTOCOL_VERSION: u32 = 59;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue