Orchard.Config (orchard v0.1.7)
View SourceConfiguration module for managing AXe binary versions and paths.
Summary
Functions
Returns the architecture string for the current system.
Returns all available AXe versions.
Returns the AXe executable command. If a custom path is configured, uses that. Otherwise uses the downloaded binary.
Checks if the AXe binary exists at the expected location.
Returns the checksum for a specific version and architecture.
Returns the configured AXe path from application config or nil.
Returns the configured AXe version from application config or default.
Returns the default AXe version.
Returns the download URL for a specific version and architecture.
Returns the path where the AXe binary should be stored.
Checks if a specific version is available.
Functions
@spec architecture() :: String.t() | nil
Returns the architecture string for the current system.
@spec available_versions() :: [String.t()]
Returns all available AXe versions.
@spec axe_cmd() :: String.t()
Returns the AXe executable command. If a custom path is configured, uses that. Otherwise uses the downloaded binary.
@spec axe_exists?() :: boolean()
Checks if the AXe binary exists at the expected location.
Returns the checksum for a specific version and architecture.
@spec configured_path() :: String.t() | nil
Returns the configured AXe path from application config or nil.
@spec configured_version() :: String.t()
Returns the configured AXe version from application config or default.
@spec default_version() :: String.t()
Returns the default AXe version.
Returns the download URL for a specific version and architecture.
Returns the path where the AXe binary should be stored.
Checks if a specific version is available.