scc-engine 0.2.11

SCC engine facade: one orchestration seam for CLI, HTTP, MCP, SDKs, RPC, FFI
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Engine snapshots: get + diff (typed values).

// trace:exempt reason=internal-detail
pub fn get(store: &scc_store::Store, id: &str) -> crate::Result<Option<scc_store::snapshot::ContextSnapshot>> {
    Ok(store.load_snapshot(id)?)
}

// trace:exempt reason=internal-detail
pub fn diff(store: &scc_store::Store, id: &str) -> crate::Result<Option<scc_store::snapshot::SnapshotDiff>> {
    Ok(store.diff_snapshot(id)?)
}