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

Function exec_remove

crates/cli/src/subcommands/server.rs:232–240  ·  view source on GitHub ↗
(mut config: Config, args: &ArgMatches)

Source from the content-addressed store, hash-verified

230}
231
232pub async fn exec_remove(mut config: Config, args: &ArgMatches) -> Result<(), anyhow::Error> {
233 let server = args.get_one::<String>("server").unwrap();
234
235 config.remove_server(server)?;
236
237 config.save();
238
239 Ok(())
240}
241
242async fn update_server_fingerprint(config: &mut Config, server: Option<&str>) -> Result<bool, anyhow::Error> {
243 let url = config.get_host_url(server)?;

Callers 1

exec_subcommandFunction · 0.85

Calls 4

remove_serverMethod · 0.80
OkFunction · 0.50
unwrapMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…