MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / open_inode_graph_table

Method open_inode_graph_table

atomic-core/src/pristine/txn/read.rs:46–50  ·  view source on GitHub ↗

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,
    )

Source from the content-addressed store, hash-verified

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

Callers 1

materialize_parallelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected