Skip to main content

index_fetch

Function index_fetch 

Source
pub fn index_fetch(host: &str, dir: &Path)
Expand description

Fetch one host’s index and write it under composite ids.

A host whose taimux predates all of this answers with a usage line on stderr and nothing here, so nothing is written and its rows go on matching what they show. The guard on the pane id is what makes that a non-event.

That tolerance is also how this went unnoticed: the request used to carry an underscore-prefixed bash-era name no Rust build has ever implemented, so EVERY host answered no such command and exited 1, and the rc != 0 below read it as “an old host, nothing to see”. The name has to match a subcommand in main.rs exactly, which is why it is the named constant below and why the suite asserts the old spelling appears nowhere in this file.