mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-30 00:47:15 +00:00
Refactor model stuff, including cleaner CRDTs
This commit is contained in:
@@ -89,7 +89,9 @@ impl Entry<EmptyKey, String> for Bucket {
|
||||
fn sort_key(&self) -> &String {
|
||||
&self.name
|
||||
}
|
||||
}
|
||||
|
||||
impl CRDT for Bucket {
|
||||
fn merge(&mut self, other: &Self) {
|
||||
self.state.merge(&other.state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user