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

Method invalidate_display_metrics_for_serial

packages/server/src/android.rs:987–992  ·  view source on GitHub ↗
(&self, serial: &str)

Source from the content-addressed store, hash-verified

985 }
986
987 fn invalidate_display_metrics_for_serial(&self, serial: &str) {
988 android_display_metrics_cache()
989 .lock()
990 .unwrap()
991 .remove(serial);
992 }
993
994 fn run_console_command_for_serial(&self, serial: &str, command: &str) -> Result<(), AppError> {
995 let port = console_port_from_serial(serial).ok_or_else(|| {

Callers 2

Calls 2

removeMethod · 0.65

Tested by

no test coverage detected