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

Method get_view_by_id

atomic-core/src/pristine/traits/view.rs:1057–1059  ·  view source on GitHub ↗
(&self, id: u64)

Source from the content-addressed store, hash-verified

1055
1056 impl ViewTxnT for MockTxn {
1057 fn get_view_by_id(&self, id: u64) -> Result<Option<ViewState>, PristineError> {
1058 Ok(self.views.get(&id).cloned())
1059 }
1060
1061 fn get_conflicts(
1062 &self,

Callers 2

resolve_view_chainMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected