Skip to main content

dedup_state_newest_catalog_graph

Function dedup_state_newest_catalog_graph 

Source
pub fn dedup_state_newest_catalog_graph(
    state: &mut SnapshotScanState,
    snapshot: SnapshotId,
    key: &[u8],
    value: &[u8],
) -> Result<Option<EncodedTerm>, StorageError>
Expand description

Deduplicate catalog graphs in the State by their IRI. If this catalog version is the newest visible at snapshot, return the graph IRI. If this catalog version is Dropped, return None.