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

Method backend

atomic-cli/src/service/mod.rs:225–232  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

223 }
224
225 fn backend(&self) -> Backend {
226 match self.mode {
227 Mode::Local => Backend::Local(self.local.clone().expect("local backend state")),
228 Mode::Reactor => {
229 Backend::Reactor(self.reactor.clone().expect("reactor backend channel"))
230 }
231 }
232 }
233
234 /// Drive one service exchange on the session's runtime, mapping the
235 /// transport/domain status to the CLI's error vocabulary.

Calls 2

LocalClass · 0.85
cloneMethod · 0.45