MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / stop_server

Function stop_server

crates/hyperqueue/src/client/commands/server.rs:239–243  ·  view source on GitHub ↗
(gsettings: &GlobalSettings, _opts: ServerStopOpts)

Source from the content-addressed store, hash-verified

237}
238
239async fn stop_server(gsettings: &GlobalSettings, _opts: ServerStopOpts) -> anyhow::Result<()> {
240 let mut session = get_client_session(gsettings.server_directory()).await?;
241 client_stop_server(session.connection()).await?;
242 Ok(())
243}
244
245async fn command_server_info(
246 gsettings: &GlobalSettings,

Callers 1

command_serverFunction · 0.70

Calls 4

get_client_sessionFunction · 0.85
client_stop_serverFunction · 0.85
server_directoryMethod · 0.80
connectionMethod · 0.80

Tested by

no test coverage detected