Function ethers_solc::utils::installed_versions
source · pub fn installed_versions(
root: impl AsRef<Path>
) -> Result<Vec<Version>, SolcError>
Expand description
Reads the list of Solc versions that have been installed in the machine. The version list is
sorted in ascending order.
Checks for installed solc versions under the given path as
<root>/<major.minor.path>
, (e.g.: ~/.svm/0.8.10
)
and returns them sorted in ascending order