Open the INODE_GRAPH table for shared use across multiple operations. The returned handle can be passed to [`InodePreloadTxn::from_table`] to avoid reopening the table for each file during parallel materialize.
(
&self,
)
| 46 | /// The returned handle can be passed to [`InodePreloadTxn::from_table`] |
| 47 | /// to avoid reopening the table for each file during parallel materialize. |
| 48 | pub fn open_inode_graph_table( |
| 49 | &self, |
| 50 | ) -> PristineResult<redb::ReadOnlyMultimapTable<&'static [u8; 32], &'static [u8; 24]>> { |
| 51 | Ok(self.txn.open_multimap_table(INODE_GRAPH)?) |
| 52 | } |
| 53 | |
| 54 | /// Enumerate every `(inode, path)` pair in `REV_TREE`. |
| 55 | /// |
no outgoing calls
no test coverage detected