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

Function fetch_service_accessibility_point

packages/server/src/main.rs:5664–5675  ·  view source on GitHub ↗
(
    udid: &str,
    x: f64,
    y: f64,
    server_url: &str,
)

Source from the content-addressed store, hash-verified

5662}
5663
5664fn fetch_service_accessibility_point(
5665 udid: &str,
5666 x: f64,
5667 y: f64,
5668 server_url: &str,
5669) -> anyhow::Result<Value> {
5670 let path = format!(
5671 "/api/simulators/{}/accessibility-point?x={x}&y={y}",
5672 url_path_component(udid)
5673 );
5674 http_get_json(server_url, &path)
5675}
5676
5677fn print_list_simulators(simulators: &Value, format: ListFormat) -> anyhow::Result<()> {
5678 match format {

Callers 1

describe_ui_snapshotFunction · 0.85

Calls 1

http_get_jsonFunction · 0.85

Tested by

no test coverage detected