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,
)
| 122 | /// The returned handle can be passed to [`InodePreloadTxn::from_table`] |
| 123 | /// to avoid reopening the table for each file during parallel materialize. |
| 124 | pub fn open_inode_graph_table( |
| 125 | &self, |
| 126 | ) -> PristineResult<redb::ReadOnlyMultimapTable<&'static [u8; 32], &'static [u8; 24]>> { |
| 127 | Ok(self.txn.open_multimap_table(INODE_GRAPH)?) |
| 128 | } |
| 129 | |
| 130 | /// Enumerate every `(inode, path)` pair in `REV_TREE`. |
| 131 | /// |
no outgoing calls
no test coverage detected