MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / protocol

Method protocol

crates/cli/src/config.rs:267–269  ·  view source on GitHub ↗
(&self, server: &str)

Source from the content-addressed store, hash-verified

265 }
266
267 fn protocol(&self, server: &str) -> anyhow::Result<&str> {
268 self.find_server(server).map(|cfg| cfg.protocol.as_ref())
269 }
270
271 fn default_protocol(&self) -> anyhow::Result<&str> {
272 self.default_server()

Callers

nothing calls this directly

Calls 8

contains_protocolFunction · 0.85
find_serverMethod · 0.80
default_protocolMethod · 0.80
OkFunction · 0.50
mapMethod · 0.45
as_refMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected