Skip to main content

Module startup_mode

Module startup_mode 

Source
Expand description

Whether this srv was started headless, for the core code that decides what the process may do (the build cache cleaner). main sets it once, right after it has read the command line (headless::requested()); the headless module (headless.rs, startup glue) stays where it is. Unset means not headless, as in the tests.

Functionsยง

headless
Was this process started headless? False until set_headless says so.
set_headless
Record that this process was started headless (--headless or AGENTMUX_HEADLESS=1).