Input passed to the build_instructions function.
Output returned by the build_instructions function.
Input passed to the create_shims function.
Output returned by the create_shims function.
Output returned by the detect_version_files function.
Input passed to the download_prebuilt function.
Output returned by the download_prebuilt function.
Represents an empty input.
Input passed to the exec_command host function.
Output returned from the exec_command host function.
Information about the host environment (the current runtime).
Input passed to the install_global function.
Output returned by the install_global function.
Input passed to the pre_install and post_install hooks,
while a proto install command is running.
Input passed to the load_versions function.
Output returned by the load_versions function.
Input passed to the locate_bins function.
Output returned by the locate_bins function.
Input passed to the native_install function.
Output returned by the native_install function.
Input passed to the native_uninstall function.
Output returned by the native_uninstall function.
Input passed to the parse_version_file function.
Output returned by the parse_version_file function.
Input passed to the resolve_version function.
Output returned by the resolve_version function.
Input passed to the pre_run and post_run hooks,
while a proto run command or language binary is running.
Configuration for individual shim files.
Input passed to the sync_manifest function.
Output returned by the sync_manifest function.
Input passed to the sync_shell_profile function.
Output returned by the sync_shell_profile function.
Information about the current state of the tool.
Controls aspects of the tool inventory.
Input passed to the register_tool function.
Output returned by the register_tool function.
Input passed to the uninstall_global function.
Output returned by the uninstall_global function.
Input passed to the unpack_archive function.
The current user’s proto configuration.
Output returned by the verify_checksum function.
Output returned by the verify_checksum function.
SemVer version requirement describing the intersection of some version
comparators, such as >=1.2.3, <1.8.
Validate the current host OS and architecture against the
supported list of target permutations.
Check whether a command exists or not on the host machine.
Fetch the provided request and deserialize the response as JSON.
Fetch the provided URL and deserialize the response as JSON.
Fetch the provided URL and return the text response.
Fetch the provided URL, deserialize the response as JSON,
and cache the response in memory for the duration of the WASM function call.
Caches does not persist across function calls.
Return the name of the binary for the provided name and OS.
On Windows, will append “.exe”, and keep as-is on other OS’s.
Return information about proto and the host environment.
Return the loaded proto user configuration (~/.proto/config.toml). Does not include plugins!
Return a Rust target triple for the current host OS and architecture.
Get the active tool ID for the current WASM instance.
Detect whether the current OS is utilizing musl instead of gnu.
Load all git tags from the provided remote URL.
The git binary must exist on the current machine.