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

Function list_simulators

packages/server/src/api/routes.rs:1737–1742  ·  view source on GitHub ↗
(State(state): State<AppState>)

Source from the content-addressed store, hash-verified

1735}
1736
1737async fn list_simulators(State(state): State<AppState>) -> Result<Json<Value>, AppError> {
1738 let simulators = all_device_values(state.clone(), false).await?;
1739 Ok(json(json_value!({
1740 "simulators": simulators,
1741 })))
1742}
1743
1744async fn simulator_create_options(State(state): State<AppState>) -> Result<Json<Value>, AppError> {
1745 let mut options =

Callers

nothing calls this directly

Calls 3

all_device_valuesFunction · 0.85
jsonFunction · 0.85
cloneMethod · 0.65

Tested by

no test coverage detected