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

Method nick_or_host

crates/cli/src/config.rs:46–52  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

44 }
45
46 fn nick_or_host(&self) -> &str {
47 if let Some(nick) = &self.nickname {
48 nick
49 } else {
50 &self.host
51 }
52 }
53 pub fn get_host_url(&self) -> String {
54 format!("{}://{}", self.protocol, self.host)
55 }

Callers 1

docMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected