| 349 | } |
| 350 | |
| 351 | fn anchor_at(timestamp_ms: i64) -> Operation { |
| 352 | Operation::new(OperationPayload { |
| 353 | parents: Vec::new(), |
| 354 | kind: OperationKind::Anchor, |
| 355 | relation: None, |
| 356 | working_copy: None, |
| 357 | before: RepoStateRef::EMPTY, |
| 358 | delta: RepoStateDelta { |
| 359 | after: RepoStateRef::EMPTY, |
| 360 | metadata: Vec::new(), |
| 361 | effects: Vec::new(), |
| 362 | }, |
| 363 | git_observed: Vec::new(), |
| 364 | evidence: Vec::new(), |
| 365 | actor: ActorRef::System { |
| 366 | name: "test".into(), |
| 367 | }, |
| 368 | timestamp_ms, |
| 369 | lossy: Vec::new(), |
| 370 | }) |
| 371 | .unwrap() |
| 372 | } |
| 373 | |
| 374 | fn child(parent: OperationId) -> Operation { |
| 375 | Operation::new(OperationPayload { |