Skip to main content

find_oxibrain_binary

Function find_oxibrain_binary 

Source
pub fn find_oxibrain_binary() -> Option<PathBuf>
Expand description

Locate the oxibrain binary: the ecosystem-standard managed install (~/.oxi/oxibrain/bin/oxibrain) first, then ~/.cargo/bin (cargo-installed), then PATH.

If the binary resolves at the managed location and shows up in a cargo bin or PATH entry as well, [warn_shadowed_roots] logs the shadowed path names once per process so the operator can clean them up (cargo uninstall oxibrain-cli, or rm <path>).