Skip to main content

find_opencode_binary_with_override

Function find_opencode_binary_with_override 

Source
pub fn find_opencode_binary_with_override(
    explicit: Option<&Path>,
) -> Result<PathBuf, AppError>
Expand description

Resolve the opencode binary path.

Precedence: explicit --opencode-binary > XDG llm.opencode_binary (config set) > which::which("opencode").