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

Method get_view_by_id

atomic-core/src/pristine/traits/mutate.rs:121–124  ·  view source on GitHub ↗

Look up a view by its internal ID (delegates to `ViewTxnT`).

(&self, id: u64)

Source from the content-addressed store, hash-verified

119
120 /// Look up a view by its internal ID (delegates to `ViewTxnT`).
121 fn get_view_by_id(&self, id: u64) -> Result<Option<ViewState>, PristineError> {
122 // Default implementation delegates to ViewTxnT (which MutTxnT: ViewTxnT)
123 ViewTxnT::get_view_by_id(self, id)
124 }
125
126 /// Record a change in a view.
127 ///

Callers 1

resolve_view_chainMethod · 0.45

Implementers 1

mod.rsatomic-core/src/pristine/txn/write/mod

Calls

no outgoing calls

Tested by

no test coverage detected