Function linera_base::command::resolve_binary
source ยท pub async fn resolve_binary(
name: &'static str,
package: &'static str,
) -> Result<PathBuf>
Expand description
Attempts to resolve the path and test the version of the given binary against our package version.
This is meant for binaries of the Linera repository. We use the current running binary to locate the parent directory where to look for the given name.