get_polkadot_sdk_versions

Function get_polkadot_sdk_versions 

Source
pub async fn get_polkadot_sdk_versions() -> Result<Vec<String>, Box<dyn Error>>
Expand description

Fetches a combined list of Polkadot SDK release versions and stable tag releases.

This function first retrieves release branch versions from the Polkadot SDK and then fetches stable tag releases versions. It combines these two lists into a single list of version strings.

§Returns

A Result containing either a Vec<String> of combined version names on success, or an Error if any part of the process fails.

§Errors

This function can return an error if either the fetching of release branches versions or the fetching of stable tag versions encounters an issue.