Skip to main content

installed_version

Function installed_version 

Source
pub fn installed_version(agents_dir: &Path, name: &str) -> Option<String>
Expand description

The installed version of name under agents_dir, if a readable manifest is there.

Deliberately lenient: a blueprint directory whose manifest is missing or unparseable reads as not installed, so the wizard offers a clean reinstall instead of refusing to plan. An unreadable manifest is exactly the state a half-finished copy leaves behind.