MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / print_service_start_result

Function print_service_start_result

packages/server/src/main.rs:1861–1870  ·  view source on GitHub ↗
(metadata: &ServiceMetadata, started: bool)

Source from the content-addressed store, hash-verified

1859}
1860
1861fn print_service_start_result(metadata: &ServiceMetadata, started: bool) -> anyhow::Result<()> {
1862 println_json(&serde_json::json!({
1863 "ok": true,
1864 "projectRoot": metadata.project_root,
1865 "pid": metadata.pid,
1866 "url": metadata.http_url,
1867 "pairingCode": metadata.pairing_code,
1868 "started": started
1869 }))
1870}
1871
1872fn print_service_metadata_result(
1873 metadata: &ServiceMetadata,

Callers 2

start_detached_serviceFunction · 0.85
mainFunction · 0.85

Calls 1

println_jsonFunction · 0.85

Tested by

no test coverage detected