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

Function installed_port

packages/server/src/service.rs:100–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100pub fn installed_port() -> anyhow::Result<Option<u16>> {
101 if !launch_agent_supported() {
102 return Ok(None);
103 }
104 Ok(installed_argument_value("--port")?.and_then(|value| value.parse::<u16>().ok()))
105}
106
107pub fn active() -> anyhow::Result<Option<ServiceInstallResult>> {
108 if !launch_agent_supported() {

Callers 2

service_restart_portFunction · 0.85
pair_global_serviceFunction · 0.85

Calls 2

launch_agent_supportedFunction · 0.85
installed_argument_valueFunction · 0.85

Tested by

no test coverage detected