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

Method snapshot_views

atomic-core/src/pristine/traits/view.rs:895–900  ·  view source on GitHub ↗

Return every VIEWS row in deterministic key order. The stored key and decoded state are both returned so repair can inspect key/value inconsistencies. Malformed values are returned as errors.

(&self)

Source from the content-addressed store, hash-verified

893 /// The stored key and decoded state are both returned so repair can inspect
894 /// key/value inconsistencies. Malformed values are returned as errors.
895 fn snapshot_views(&self) -> Result<Vec<(String, ViewState)>, PristineError> {
896 Err(PristineError::Inconsistent {
897 message: "complete VIEWS snapshots are unavailable for this transaction wrapper"
898 .to_string(),
899 })
900 }
901
902 /// List all view names.
903 ///

Callers

nothing calls this directly

Implementers 5

context.rsatomic-core/src/record/context.rs
view_graph.rsatomic-core/src/pristine/view_graph.rs
read.rsatomic-core/src/pristine/txn/read.rs
view.rsatomic-core/src/pristine/txn/write/vie
view.rsatomic-core/src/pristine/traits/view.r

Calls

no outgoing calls

Tested by

no test coverage detected