WIP: integrate status with collab

This commit is contained in:
Mikayla Maki 2023-05-09 19:29:45 -07:00 committed by Mikayla Maki
parent 18cec8d64f
commit a58a33fc93
No known key found for this signature in database
5 changed files with 154 additions and 5 deletions

View file

@ -178,6 +178,9 @@ impl From<&RepositoryEntry> for proto::RepositoryEntry {
proto::RepositoryEntry {
work_directory_id: value.work_directory.to_proto(),
branch: value.branch.as_ref().map(|str| str.to_string()),
// TODO: Status
removed_statuses: Default::default(),
updated_statuses: Default::default(),
}
}
}
@ -1855,6 +1858,7 @@ impl LocalSnapshot {
let scan_id = self.scan_id;
let repo_lock = repo.lock();
self.repository_entries.insert(
work_directory,
RepositoryEntry {