Function linera_base::command::resolve_binary_in_same_directory_as
source ยท pub async fn resolve_binary_in_same_directory_as<P: AsRef<Path>>(
current_binary: P,
name: &'static str,
package: &'static str,
) -> Result<PathBuf>
Expand description
Same as resolve_binary
but gives the option to specify a binary path to use as
reference. The path may be relative or absolute but it must point to a valid file on
disk.