scc_engine/history.rs
1//! Engine history: revisions + semantic diff (typed values).
2
3// trace:exempt reason=internal-detail
4pub fn revisions(store: &scc_store::Store) -> crate::Result<Vec<scc_store::history::GraphRevision>> {
5 Ok(store.revisions()?)
6}
7
8// trace:exempt reason=internal-detail
9pub fn diff(store: &scc_store::Store, from: i64, to: i64) -> crate::Result<scc_store::history::SemanticDelta> {
10 Ok(store.semantic_diff(from, to)?)
11}