MCPcopy Create free account
hub / github.com/ermak-dev/cloudpub / validate

Method validate

client/src/config.rs:227–233  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

225 }
226
227 pub fn validate(&self) -> Result<()> {
228 if self.token.is_none() {
229 bail!("{}", crate::t!("error-auth-missing"));
230 }
231 TransportConfig::validate(&self.transport, false)?;
232 Ok(())
233 }
234
235 #[cfg(not(target_os = "android"))]
236 pub fn get_hwid(&self) -> String {

Callers 1

main_loopFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected