MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / is_server_mode

Function is_server_mode

server_capabilities.py:361–363  ·  view source on GitHub ↗

Quick check if running in server mode

()

Source from the content-addressed store, hash-verified

359 Returns (capable, reason). `reason` is empty when capable and is shown
360 verbatim in the UI/installer otherwise, so it has to name the board's
361 actual numbers - "not supported" alone sends people hunting.
362 """
363 caps = self.capabilities
364 ram_gb = caps.total_ram_gb
365
366 if caps.is_pi_zero:

Callers

nothing calls this directly

Calls 2

get_server_capabilitiesFunction · 0.85
is_server_modeMethod · 0.80

Tested by

no test coverage detected