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

Method on_view

libatomic/tests/sandbox_service_test.rs:188–190  ·  view source on GitHub ↗
(&self, view: &str, hash: &Hash)

Source from the content-addressed store, hash-verified

186 }
187
188 fn on_view(&self, view: &str, hash: &Hash) -> bool {
189 self.with_repo(|repo| repo.first_foreign_change(view, &[*hash]).unwrap().is_none())
190 }
191}
192
193fn with_token<T>(message: T, token: &[u8]) -> Request<T> {

Callers

nothing calls this directly

Calls 4

with_repoMethod · 0.80
is_noneMethod · 0.80
first_foreign_changeMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected