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

Method backend

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

Source from the content-addressed store, hash-verified

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

Calls 2

LocalClass · 0.85
cloneMethod · 0.45