path_derive_precommit_exec_impl: Find an executable

View source: R/exec.R

path_derive_precommit_exec_implR Documentation

Find an executable

Description

Evaluates if the pre-commit executable exists in one or more candidate locations. If so, return one, else return the empty string

Usage

path_derive_precommit_exec_impl(candidate)

Arguments

candidate

A directory to check for the pre-commit executable. The directory may also not exist.


lorenzwalthert/precommit documentation built on Feb. 7, 2025, 4:31 p.m.