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

Function detect_tailscale_ip

packages/server/src/main.rs:2863–2865  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2861}
2862
2863fn detect_tailscale_ip() -> Option<IpAddr> {
2864 detect_tailscale_ip_from_cli().or_else(detect_tailscale_ip_from_ifconfig)
2865}
2866
2867fn detect_tailscale_ip_from_cli() -> Option<IpAddr> {
2868 let output = ProcessCommand::new("tailscale")

Callers 2

service_addressesFunction · 0.85
pairing_addressesFunction · 0.85

Calls 1

Tested by

no test coverage detected