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,
)
| 44 | /// The returned handle can be passed to [`InodePreloadTxn::from_table`] |
| 45 | /// to avoid reopening the table for each file during parallel materialize. |
| 46 | pub fn open_inode_graph_table( |
| 47 | &self, |
| 48 | ) -> PristineResult<redb::ReadOnlyMultimapTable<&'static [u8; 32], &'static [u8; 24]>> { |
| 49 | Ok(self.txn.open_multimap_table(INODE_GRAPH)?) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // GraphTxnT Implementation |
no outgoing calls
no test coverage detected