Skip to main content

inspect_binary

Function inspect_binary 

Source
pub fn inspect_binary(recorded: &Path, registered: Option<&Path>) -> BinaryPath
Expand description

Decides what became of a recorded path.

registered is what the service manager says it will start, when the platform can be asked. Order matters and is deliberate: absence is checked first, because a missing binary is the failure item 6 exists for and an operator hearing “the registration disagrees with the record” about a file that is not there would be sent to the wrong problem.