Skip to main content

run_status

Function run_status 

Source
pub fn run_status(stdout: &mut impl Write, format: &str) -> Result<()>
Expand description

Port of Go’s registry.runStatus.

§Errors

Returns RegistryStatusError::UnsupportedOutputFormat if format is neither "text" nor "json", or an error if reading the registry cache status fails.