(txn: &'txn WriteTxn<'a>)
| 39 | |
| 40 | impl<'txn, 'a> CachedWriteGraphTxn<'txn, 'a> { |
| 41 | pub fn new(txn: &'txn WriteTxn<'a>) -> PristineResult<Self> { |
| 42 | Ok(Self { |
| 43 | graph: txn.txn.open_multimap_table(GRAPH)?, |
| 44 | inode_graph: txn.txn.open_multimap_table(INODE_GRAPH)?, |
| 45 | txn, |
| 46 | index: RefCell::new(VertexSpanIndex::default()), |
| 47 | }) |
| 48 | } |
| 49 | |
| 50 | /// Ensure all of `change_id`'s spans are loaded into the in-memory index. |
| 51 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected