(change: NodeId, claimant: Position<NodeId>)
| 461 | } |
| 462 | |
| 463 | fn path_claim(change: NodeId, claimant: Position<NodeId>) -> PathClaimEvent { |
| 464 | PathClaimEvent::new( |
| 465 | change, |
| 466 | 0, |
| 467 | PathClaimKind::Directory, |
| 468 | PathClaimState::Alive, |
| 469 | PathClaimId::new(claimant, GraphNode::ROOT, node(change, 0, 8), change), |
| 470 | ) |
| 471 | } |
| 472 | |
| 473 | fn graph_rows(txn: &ReadTxn) -> Vec<(Vec<u8>, Vec<u8>)> { |
| 474 | let table = txn.txn.open_multimap_table(GRAPH).unwrap(); |