Skip to main content

collect

Function collect 

Source
pub fn collect() -> MachineEnvironment
Expand description

Snapshot the host environment. Best-effort: missing fields become 0 / empty.

Fast path: serve a cached copy. A stale cache kicks off one background refresh so the bridge request worker never blocks on sh / --version. First call still collects sync.