[][src]Function ichwh::which_in_dir

pub async fn which_in_dir<'_, P: AsRef<Path>>(
    bin: &'_ str,
    path: P
) -> IchwhResult<Option<PathBuf>>

Searches a directory for an exexcutable with the name bin

Errors

  • An IO error occurs