solc/download

Types

pub type ReleaseInfo {
  ReleaseInfo(
    releases: dict.Dict(String, String),
    latest_release: String,
    builds: List(String),
  )
}

Constructors

  • ReleaseInfo(
      releases: dict.Dict(String, String),
      latest_release: String,
      builds: List(String),
    )

Values

pub fn download(
  path: String,
  version: option.Option(String),
) -> promise.Promise(Result(String, types.SolcError))
pub fn fetch_releases() -> promise.Promise(
  Result(ReleaseInfo, types.SolcError),
)
pub fn get_filename_for_version(
  version: String,
) -> promise.Promise(Result(String, types.SolcError))
pub fn solc_exists(path: String) -> Bool
Search Document