Skip to main content

is_valid_install

Function is_valid_install 

Source
pub fn is_valid_install(dir: &Path, cli_command: &str) -> bool
Expand description

Whether dir holds a usable install: marked complete AND its shim is still there. A marker alone isn’t enough — a finished install can lose its shim later (corruption, antivirus cleanup).