pub fn find_all(target: &Target, bridge: &BridgeModel) -> Result<Vec<PythonInterpreter>> {
        let executables = if target.is_windows() {
            find_all_windows(&target)?
        } else {
            find_all_unix()
        };
        let mut available_versions = Vec::new();
        for executable in executables {
            if let Some(version) =
                PythonInterpreter::check_executable(&executable, &target, &bridge)?
            {
                available_versions.push(version);
            }
        }

        Ok(available_versions)
    }
/// Tries to find all installed python versions using the heuristic for the
/// given platform
Tries to find all installed python versions using the heuristic for the
given platform
Tries to find all installed python versions using the heuristic for the given platform
pub fn find_all(target: &Target, bridge: &BridgeModel) -> Result<Vec<PythonInterpreter>> {
        let executables = if target.is_windows() {
            find_all_windows(&target)?
        } else {
            find_all_unix()
        };
        let mut available_versions = Vec::new();
        for executable in executables {
            if let Some(version) =
                PythonInterpreter::check_executable(&executable, &target, &bridge)?
            {
                available_versions.push(version);
            }
        }
        Ok(available_versions)
    }
pub fn find_all ( target : & Target , bridge : & BridgeModel ) -> Result < Vec < PythonInterpreter > > { let executables = if target . is_windows ( ) { find_all_windows ( & target ) ? } else { find_all_unix ( ) } ; let mut available_versions = Vec :: new ( ) ; for executable in executables { if let Some ( version ) = PythonInterpreter :: check_executable ( & executable , & target , & bridge ) ? { available_versions . push ( version ) ; } } Ok ( available_versions ) }
Tries to find all installed python versions using the heuristic for the
given platform
Tries to find all installed python versions using the heuristic for the given platform
target
&Target
bridge
&BridgeModel
target
&Target
bridge
&BridgeModel