Add proto fields for repository entry maintenance
This commit is contained in:
parent
c6d7ed33c2
commit
2fe5bf419b
4 changed files with 40 additions and 3 deletions
|
@ -1063,6 +1063,8 @@ async fn rejoin_room(
|
|||
removed_entries: worktree.removed_entries,
|
||||
scan_id: worktree.scan_id,
|
||||
is_last_update: worktree.completed_scan_id == worktree.scan_id,
|
||||
//TODO repo
|
||||
updated_repositories: vec![],
|
||||
};
|
||||
for update in proto::split_worktree_update(message, MAX_CHUNK_SIZE) {
|
||||
session.peer.send(session.connection_id, update.clone())?;
|
||||
|
@ -1383,6 +1385,8 @@ async fn join_project(
|
|||
removed_entries: Default::default(),
|
||||
scan_id: worktree.scan_id,
|
||||
is_last_update: worktree.scan_id == worktree.completed_scan_id,
|
||||
// TODO repo
|
||||
updated_repositories: vec![],
|
||||
};
|
||||
for update in proto::split_worktree_update(message, MAX_CHUNK_SIZE) {
|
||||
session.peer.send(session.connection_id, update.clone())?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue