(txn: &ReadTxn)
| 471 | } |
| 472 | |
| 473 | fn graph_rows(txn: &ReadTxn) -> Vec<(Vec<u8>, Vec<u8>)> { |
| 474 | let table = txn.txn.open_multimap_table(GRAPH).unwrap(); |
| 475 | let mut rows = Vec::new(); |
| 476 | for row in table.iter().unwrap() { |
| 477 | let (key, values) = row.unwrap(); |
| 478 | for value in values { |
| 479 | rows.push((key.value().to_vec(), value.unwrap().value().to_vec())); |
| 480 | } |
| 481 | } |
| 482 | rows |
| 483 | } |
| 484 | |
| 485 | fn inode_graph_rows(txn: &ReadTxn) -> Vec<(Vec<u8>, Vec<u8>)> { |
| 486 | let table = txn.txn.open_multimap_table(INODE_GRAPH).unwrap(); |