safe_cmd_download (rebar_safe v1.0.1)
View SourceSummary
Functions
Ensure a SAFE binary is available, downloading if needed.
Read the locked version from safe.lock file if it exists.
Write the resolved version to safe.lock file.
Functions
Ensure a SAFE binary is available, downloading if needed.
-spec handle(safe_rebar_interface:state(), string(), boolean()) -> {ok, safe_rebar_interface:state()} | {error, string()}.
Read the locked version from safe.lock file if it exists.
Write the resolved version to safe.lock file.