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

Function android_console_response_complete

packages/server/src/android.rs:2079–2083  ·  view source on GitHub ↗
(response: &str)

Source from the content-addressed store, hash-verified

2077}
2078
2079fn android_console_response_complete(response: &str) -> bool {
2080 response
2081 .lines()
2082 .any(|line| line.trim() == "OK" || line.trim_start().starts_with("KO"))
2083}
2084
2085fn android_console_response_ok(response: &str) -> bool {
2086 response.lines().any(|line| line.trim() == "OK")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected